summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothuuid.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2021-03-10 15:43:36 +0100
committerAlex Blasche <alexander.blasche@qt.io>2021-03-12 08:05:27 +0100
commitcb3ea5f3ea98b38e7c7dc5dfd096898fd80a72d6 (patch)
tree78c3cc4f2d9206770db5a5c3c31ebadea34575c2 /src/bluetooth/qbluetoothuuid.h
parent74abfd114fad88e515a5ebb15b4df9064212fe82 (diff)
Fix clazy-rule-of-soft-two for QBluetoothUuid
There is no reason to implement own version of dtor and copy ctor. The above clazy rule was highlighted by a lot of internal QBluetoothUuid usage. Change-Id: I506aee1d633cfb52a6e565e9c328847ec506268f Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothuuid.h')
-rw-r--r--src/bluetooth/qbluetoothuuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h
index ffb7f31e..0dc44b59 100644
--- a/src/bluetooth/qbluetoothuuid.h
+++ b/src/bluetooth/qbluetoothuuid.h
@@ -383,9 +383,9 @@ public:
explicit QBluetoothUuid(quint128 uuid);
explicit QBluetoothUuid(const QString &uuid);
- QBluetoothUuid(const QBluetoothUuid &uuid);
+ QBluetoothUuid(const QBluetoothUuid &uuid) = default;
QBluetoothUuid(const QUuid &uuid);
- ~QBluetoothUuid();
+ ~QBluetoothUuid() = default;
bool operator==(const QBluetoothUuid &other) const;
bool operator!=(const QBluetoothUuid &other) const { return !operator==(other); }