diff --git a/tests/mesh/MeshAABBIntersectionTest.cpp b/tests/mesh/MeshAABBIntersectionTest.cpp index 967c8ce218eacfd56c3ef49bda339772528f0c21..2ae15e994d701342dd0887c2475d8627ecfdf6d6 100644 --- a/tests/mesh/MeshAABBIntersectionTest.cpp +++ b/tests/mesh/MeshAABBIntersectionTest.cpp @@ -63,7 +63,7 @@ void runTests( const uint_t numAABBs ) walberla::optional< bool > result = isIntersecting( triDist, testAABB, maxErr ); - if ( result.has_value() ) + if ( result ) { if(result.value()) {