Skip to content

Commit f53592f

Browse files
authored
Merge pull request #1552 from Idclip/cxx20_fix
Minor C++20 build fix
2 parents 2caed72 + 05266b5 commit f53592f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openvdb/openvdb/unittest/TestAttributeArrayString.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ TEST_F(TestAttributeArrayString, testProfile)
591591
volatile bool result = false;
592592
(void)result;
593593
for (size_t i = 0; i < elements/2; ++i) {
594-
result |= handle.contains("test_string_" + std::to_string(i*4));
594+
result = result | handle.contains("test_string_" + std::to_string(i*4));
595595
}
596596

597597
timer.stop();

0 commit comments

Comments
 (0)