Cleanup: use C-style comment blocks

This commit is contained in:
Campbell Barton
2024-04-26 13:55:38 +10:00
parent 56f80ebbcd
commit 6456fa3b9e
2 changed files with 6 additions and 6 deletions

View File

@@ -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)

View File

@@ -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);
}