aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/pen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/pen.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/pen.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/sources/shiboken6/tests/libsample/pen.cpp b/sources/shiboken6/tests/libsample/pen.cpp
index 8e216323f..76473a264 100644
--- a/sources/shiboken6/tests/libsample/pen.cpp
+++ b/sources/shiboken6/tests/libsample/pen.cpp
@@ -45,9 +45,7 @@ void Brush::setColor(const Color &newColor)
m_color = newColor;
}
-Pen::Pen() : m_ctor(EmptyCtor)
-{
-}
+Pen::Pen() = default;
Pen::Pen(SampleNamespace::Option) : m_ctor(EnumCtor)
{
@@ -61,9 +59,9 @@ Pen::Pen(const Pen &) : m_ctor(CopyCtor)
{
}
-Pen::Pen(Pen &&) = default;
-Pen &Pen::operator=(const Pen& pen) = default;
-Pen &Pen::operator=(Pen &&) = default;
+Pen::Pen(Pen &&) noexcept = default;
+Pen &Pen::operator=(const Pen &pen) = default;
+Pen &Pen::operator=(Pen &&) noexcept = default;
int Pen::ctorType()
{