diff options
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/gdb_optional.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/common/gdb_optional.h b/gdb/common/gdb_optional.h index fef7a73..ad1119f 100644 --- a/gdb/common/gdb_optional.h +++ b/gdb/common/gdb_optional.h @@ -34,8 +34,9 @@ class optional { public: - optional () - : m_instantiated (false) + constexpr optional () + : m_dummy (), + m_instantiated (false) { } |