summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-10-19 08:47:21 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-10-19 13:26:36 +0000
commit0fd7c68a4cd6f703d6a71e66963a357073c45452 (patch)
treea138743561fe99178ed5f47114604586f81a3588 /src
parent125cdccc346903d6e70ed26289cdaed85e26ec3f (diff)
Add default assignment operator for QBluetoothUuid
This was detected by clazy. Change-Id: I69c5a0921864b24dfdbf33fb54e8b85a7b600adb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/qbluetoothuuid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h
index 28b08583..27e26a67 100644
--- a/src/bluetooth/qbluetoothuuid.h
+++ b/src/bluetooth/qbluetoothuuid.h
@@ -381,6 +381,8 @@ public:
bool operator==(const QBluetoothUuid &other) const;
bool operator!=(const QBluetoothUuid &other) const { return !operator==(other); }
+ QBluetoothUuid &operator=(const QBluetoothUuid &other) = default;
+
int minimumSize() const;
quint16 toUInt16(bool *ok = nullptr) const;