From a4c0837b00e8d683ba9a646b48e42e54392eff56 Mon Sep 17 00:00:00 2001 From: Nils Kohl <nils.kohl@fau.de> Date: Thu, 4 Apr 2019 12:26:38 +0200 Subject: [PATCH] Fixing std::optional (std::experimental::optional does not seem to have the exact same interface as std::optional) --- tests/mesh/MeshAABBIntersectionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mesh/MeshAABBIntersectionTest.cpp b/tests/mesh/MeshAABBIntersectionTest.cpp index 967c8ce21..2ae15e994 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()) { -- GitLab