Skip to content

Commit

Permalink
COMP: Address non-const operations when TBB enabled in test
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp committed Dec 19, 2024
1 parent e917d9f commit cd7b5b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ itkMultiThreaderTypeFromEnvironmentTest(int argc, char * argv[])
success &= checkThreaderByName(expectedThreaderType);

// check that developer's choice for default is respected
const std::set<ThreaderEnum> threadersToTest = { ThreaderEnum::Platform, ThreaderEnum::Pool };
std::set<ThreaderEnum> threadersToTest = { ThreaderEnum::Platform, ThreaderEnum::Pool };
#ifdef ITK_USE_TBB
threadersToTest.insert(ThreaderEnum::TBB);
#endif // ITK_USE_TBB
Expand Down

0 comments on commit cd7b5b3

Please sign in to comment.