diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-20 07:42:06 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-07-29 16:43:56 +0200 |
commit | c06b82ac7b1ff09edbb7515ae057bdf2e51ffb2d (patch) | |
tree | 0a5566d4fde46b2bbec1fb15c0df12c7a7be0c27 /sources/shiboken6/tests/libsample/pen.h | |
parent | cd26028c85720ed58a31d0564f6a3e87004d6f60 (diff) |
shiboken6: Add test for default constructors
Change-Id: I338599754bcc96d6bd3ca3b0b58eb953b36580e4
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/tests/libsample/pen.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/pen.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |