Cleanup: use C-style comment blocks
This commit is contained in:
@@ -78,10 +78,10 @@ class Task {
|
||||
other.freedata = nullptr;
|
||||
}
|
||||
|
||||
// TBB has a check in tbb/include/task_group.h where __TBB_CPP11_RVALUE_REF_PRESENT should evaluate
|
||||
// to true as with the other MSVC build. However, because of the clang compiler it does not and we
|
||||
// attempt to call a deleted constructor in the tbb_task_pool_run function. This check fixes this
|
||||
// issue and keeps our Task constructor valid
|
||||
/* TBB has a check in `tbb/include/task_group.h` where `__TBB_CPP11_RVALUE_REF_PRESENT` should
|
||||
* evaluate to true as with the other MSVC build. However, because of the clang compiler
|
||||
* it does not and we attempt to call a deleted constructor in the tbb_task_pool_run function.
|
||||
* This check fixes this issue and keeps our Task constructor valid. */
|
||||
#if (defined(WITH_TBB) && TBB_INTERFACE_VERSION_MAJOR < 10) || \
|
||||
(defined(_MSC_VER) && defined(__clang__) && TBB_INTERFACE_VERSION_MAJOR < 12)
|
||||
Task(const Task &other)
|
||||
|
||||
@@ -318,8 +318,8 @@ static void rna_BoneCollections_active_index_range(
|
||||
{
|
||||
bArmature *arm = (bArmature *)ptr->data;
|
||||
|
||||
// TODO: Figure out what this function actually is used for, as we may want to protect the first
|
||||
// collection (i.e. the default collection that should remain first).
|
||||
/* TODO: Figure out what this function actually is used for, as we may want to protect the first
|
||||
* collection (i.e. the default collection that should remain first). */
|
||||
*min = 0;
|
||||
*max = max_ii(0, arm->collection_array_num - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user