Fix review findings.
parent
7116f46672
commit
fff977c0b5
|
@ -49,7 +49,7 @@ namespace Assimp {
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct Maybe {
|
struct Maybe {
|
||||||
/// @brief
|
/// @brief
|
||||||
Maybe() : _valid(false) {}
|
Maybe() = default;
|
||||||
|
|
||||||
/// @brief
|
/// @brief
|
||||||
/// @param val
|
/// @param val
|
||||||
|
@ -82,7 +82,7 @@ struct Maybe {
|
||||||
Maybe(const Maybe &) = delete;
|
Maybe(const Maybe &) = delete;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
T _val;
|
T _val = false;
|
||||||
bool _valid;
|
bool _valid;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue