summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-07-06 22:15:53 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-07-09 21:58:05 +0000
commitae3bf860e9565084fecdaa22ba9b881da9caa33b (patch)
treee184cac8dfed8cc1489898f25dd3063b48361df4
parent503f00eeccb29ec7924db1942d7a211e83ef6754 (diff)
QBluetoothAddress: restore missing move SMFs
The user-defined copy SMFs were deleting the move SMFs. Restore them with a strategic =default. Change-Id: I461975ca422cb08c615e910643da2b932c5b45d4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit a0495c038b8e187f8c48cbee3352b147eb81e462) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/bluetooth/qbluetoothaddress.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothaddress.h b/src/bluetooth/qbluetoothaddress.h
index 5b14f224..054c5c31 100644
--- a/src/bluetooth/qbluetoothaddress.h
+++ b/src/bluetooth/qbluetoothaddress.h
@@ -27,6 +27,8 @@ public:
QT_BLUETOOTH_INLINE_SINCE(6, 6)
QBluetoothAddress &operator=(const QBluetoothAddress &other) noexcept;
+ QBluetoothAddress(QBluetoothAddress &&) noexcept = default;
+ QBluetoothAddress &operator=(QBluetoothAddress &&) noexcept = default;
QT_BLUETOOTH_INLINE_SINCE(6, 6)
bool isNull() const noexcept;