aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/str.h
diff options
context:
space:
mode:
authorFriedemann Kleint <[email protected]>2022-09-22 10:08:16 +0200
committerFriedemann Kleint <[email protected]>2022-09-23 05:50:37 +0000
commitf419206841764323c244bf91051b2878451c17b6 (patch)
tree136dfd9c4658b019f7da7196827de599865b3f65 /sources/shiboken6/tests/libsample/str.h
parent29775a7cdf032955f2f40ea3487f1ea634cc8500 (diff)
shiboken6/test: Fix warnings about implicitly generated assignment operators
Fix warnings like: warning: implicitly-declared constexpr Pen& Pen::operator=(const Pen&) is deprecated [-Wdeprecated-copy] by removing definitions of copy constructors/assignment operators which are equivalent to the default generated ones or spell out the special methods were needed. Pick-to: 6.3 6.2 Change-Id: Ie7cb335707f8bdd297b0ceea969909bc809016d7 Reviewed-by: Cristian Maureira-Fredes <[email protected]>
Diffstat (limited to 'sources/shiboken6/tests/libsample/str.h')
-rw-r--r--sources/shiboken6/tests/libsample/str.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/libsample/str.h b/sources/shiboken6/tests/libsample/str.h
index 0b75348c7..a58f34bdb 100644
--- a/sources/shiboken6/tests/libsample/str.h
+++ b/sources/shiboken6/tests/libsample/str.h
@@ -10,10 +10,8 @@
class LIBSAMPLE_API Str
{
public:
- Str(const Str& s);
Str(char c);
Str(const char* cstr = "");
- ~Str();
Str arg(const Str& s) const;