make Value default constructible

This commit is contained in:
Arne Morten Kvarving
2020-01-24 10:47:36 +01:00
parent 38ede33576
commit 45af93cd93

View File

@@ -40,12 +40,13 @@ class Value {
private:
std::string m_name;
bool m_initialized;
bool m_initialized = false;
T m_value;
public:
Value() = default;
explicit Value(const std::string& name) :
m_name( name ),
m_initialized( false )