diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/complex.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/complex.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/complex.h b/sources/shiboken6/tests/libsample/complex.h index 16be1facc..168fe5c44 100644 --- a/sources/shiboken6/tests/libsample/complex.h +++ b/sources/shiboken6/tests/libsample/complex.h @@ -9,7 +9,9 @@ class LIBSAMPLE_API Complex { public: - Complex(double real = 0.0, double imag = 0.0); + LIBMINIMAL_DEFAULT_COPY_MOVE(Complex) + + explicit Complex(double real = 0.0, double imag = 0.0) noexcept; ~Complex() = default; inline double real() const { return m_real; } |