diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-01-28 10:51:52 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2016-01-29 13:02:06 +0000 |
commit | e2c26722fad7ce4b034682ca697abfe4743ef19a (patch) | |
tree | 407cb6fccb431e6d0e238de90e80eadf90f4e9f3 /tests | |
parent | afc7548b720cf3a3f8c07e87cfee1fc455b71a3b (diff) |
Cleanup constructors and destructors.
- replace Q_DECL_EQ_DEFAULT/DELETE with explicit '= default/delete'
- DebugHandler: no default ctor necessary
- QModbusCommEvent: fix = default that should have been = delete
- remove defaulted ctors/ dtors, where possible, matching the current
module style
Change-Id: I7d6fd5b8404cbb5c2741927ec676c6f8a1f75c22
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qmodbusserver/tst_qmodbusserver.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/qmodbusserver/tst_qmodbusserver.cpp b/tests/auto/qmodbusserver/tst_qmodbusserver.cpp index ee4bd94..114063a 100644 --- a/tests/auto/qmodbusserver/tst_qmodbusserver.cpp +++ b/tests/auto/qmodbusserver/tst_qmodbusserver.cpp @@ -1086,7 +1086,6 @@ private slots: class InheritanceTestServer : public QModbusServer { public: - InheritanceTestServer() Q_DECL_EQ_DEFAULT; void close() Q_DECL_OVERRIDE {} bool open() Q_DECL_OVERRIDE { return true; } |