diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/null.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/null.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/shiboken6/tests/libsample/null.h b/sources/shiboken6/tests/libsample/null.h index 9a618095c..945a89fa2 100644 --- a/sources/shiboken6/tests/libsample/null.h +++ b/sources/shiboken6/tests/libsample/null.h @@ -8,12 +8,12 @@ class Null { public: Null(bool value) : m_isNull(value) {} - Null() : m_isNull(false) {} + Null() = default; + void setIsNull(bool flag) { m_isNull = flag; } private: - bool m_isNull; + bool m_isNull = false; }; -#endif // STR_H - +#endif // NULL_H |