From 0fd7c68a4cd6f703d6a71e66963a357073c45452 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Thu, 19 Oct 2017 08:47:21 +0200 Subject: Add default assignment operator for QBluetoothUuid This was detected by clazy. Change-Id: I69c5a0921864b24dfdbf33fb54e8b85a7b600adb Reviewed-by: Qt CI Bot Reviewed-by: Timur Pocheptsov --- src/bluetooth/qbluetoothuuid.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bluetooth/qbluetoothuuid.h') 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; -- cgit v1.2.3