aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/strlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/strlist.h')
-rw-r--r--sources/shiboken6/tests/libsample/strlist.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/strlist.h b/sources/shiboken6/tests/libsample/strlist.h
index 43aa15390..e9dcaca04 100644
--- a/sources/shiboken6/tests/libsample/strlist.h
+++ b/sources/shiboken6/tests/libsample/strlist.h
@@ -46,9 +46,13 @@ public:
inline StrList() : m_ctorUsed(NoParamsCtor) {}
inline explicit StrList(const Str& str) : m_ctorUsed(StrCtor) { push_back(str); }
- inline StrList(const StrList& lst) : std::list<Str>(lst), m_ctorUsed(CopyCtor) {}
inline StrList(const std::list<Str>& lst) : std::list<Str>(lst), m_ctorUsed(ListOfStrCtor) {}
+ inline StrList(const StrList &lst) : std::list<Str>(lst), m_ctorUsed(CopyCtor) {}
+ StrList(StrList &&) = default;
+ StrList &operator=(const StrList &) = default;
+ StrList &operator=(StrList &&) = default;
+
inline void append(Str str) { push_back(str); }
Str join(const Str& sep) const;