aboutsummaryrefslogtreecommitdiff
path: root/include/ble/Bluetooth.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ble/Bluetooth.h')
-rw-r--r--include/ble/Bluetooth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ble/Bluetooth.h b/include/ble/Bluetooth.h
index 80729af..97e7cfe 100644
--- a/include/ble/Bluetooth.h
+++ b/include/ble/Bluetooth.h
@@ -122,6 +122,11 @@ public:
virtual ~BluetoothGatt();
+ // No copying
+ BluetoothGatt(const BluetoothGatt&) = delete;
+
+ BluetoothGatt& operator=(const BluetoothGatt&) = delete;
+
virtual BluetoothDevice &getDevice() const = 0;
virtual bool isConnected() const = 0;