From fff977c0b53cd4a8531ecb6a9a5d0bc9aa8cc9a4 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 8 Sep 2022 18:54:08 +0200 Subject: [PATCH] Fix review findings. --- code/Common/Maybe.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Common/Maybe.h b/code/Common/Maybe.h index 769799c2c..190331bac 100644 --- a/code/Common/Maybe.h +++ b/code/Common/Maybe.h @@ -49,7 +49,7 @@ namespace Assimp { template struct Maybe { /// @brief - Maybe() : _valid(false) {} + Maybe() = default; /// @brief /// @param val @@ -82,7 +82,7 @@ struct Maybe { Maybe(const Maybe &) = delete; private: - T _val; + T _val = false; bool _valid; };