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; };