diff options
| -rw-r--r-- | sources/shiboken6/tests/libsample/pen.cpp | 4 | ||||
| -rw-r--r-- | sources/shiboken6/tests/libsample/pen.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sources/shiboken6/tests/libsample/pen.cpp b/sources/shiboken6/tests/libsample/pen.cpp index e538a6a49..b5c9356d6 100644 --- a/sources/shiboken6/tests/libsample/pen.cpp +++ b/sources/shiboken6/tests/libsample/pen.cpp @@ -28,10 +28,6 @@ #include "pen.h" -Color::Color() : m_null(true) -{ -} - Color::Color(SampleNamespace::InValue arg) : m_null(false) { } diff --git a/sources/shiboken6/tests/libsample/pen.h b/sources/shiboken6/tests/libsample/pen.h index 4feb9f540..3e4fe5dd8 100644 --- a/sources/shiboken6/tests/libsample/pen.h +++ b/sources/shiboken6/tests/libsample/pen.h @@ -35,13 +35,13 @@ class LIBSAMPLE_API Color { public: - Color(); + Color() = default; Color(SampleNamespace::InValue arg); Color(unsigned int arg); bool isNull() const; private: - bool m_null; + bool m_null = true; }; class LIBSAMPLE_API Brush |
