Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
COMP: Avoid re-init of ostringstream in ThresholdImageFilterTest
This is to work around build failures on Intel macOS: > Filtering/Thresholding/test/itkThresholdImageFilterTest.cxx:79:8: error: no viable overloaded '=' os = {}; ~~ ^ ~~ Also, it is more efficient to clear the std::ostringstream object using os.str(""); rather than reinitializing it. This avoids unnecessary reallocation and keeps the code cleaner.
- Loading branch information