summaryrefslogtreecommitdiffstats
path: root/examples/corelib/tools/customtypesending/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/corelib/tools/customtypesending/message.h')
-rw-r--r--examples/corelib/tools/customtypesending/message.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/corelib/tools/customtypesending/message.h b/examples/corelib/tools/customtypesending/message.h
index a93f111e45..38b5c8205f 100644
--- a/examples/corelib/tools/customtypesending/message.h
+++ b/examples/corelib/tools/customtypesending/message.h
@@ -58,9 +58,10 @@
class Message
{
public:
- Message();
- Message(const Message &other);
- ~Message();
+ Message() = default;
+ ~Message() = default;
+ Message(const Message &) = default;
+ Message &operator=(const Message &) = default;
Message(const QString &body, const QStringList &headers);