From dd5423d29ad0ceb70a6a08889bd2a3018dd106be Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Fri, 3 Jul 2020 14:54:53 +0200 Subject: [PATCH] [MeL] Try to avoid a gcc warning. --- MeshLib/MeshInformation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MeshLib/MeshInformation.h b/MeshLib/MeshInformation.h index bba51e35f28..88e674ab0da 100644 --- a/MeshLib/MeshInformation.h +++ b/MeshLib/MeshInformation.h @@ -43,7 +43,7 @@ public: { INFO("Mesh property vector '{:s}' is empty.", property.getPropertyName()); - return {}; + return std::nullopt; } auto const [min, max] = -- GitLab