aboutsummaryrefslogtreecommitdiffstats
path: root/api/direct_bt/GATTHandler.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-11-08 03:19:10 +0100
committerSven Gothel <[email protected]>2020-11-08 03:19:10 +0100
commit0cec438fb5a1ca07111df38eb32878523656ec56 (patch)
tree877ee3e815cc6770738912a421bdb6324b661481 /api/direct_bt/GATTHandler.hpp
parent8e83afa526672c32b6cf0bfaf89c13581444ddeb (diff)
GATTHandler, HCIComm and HCIHandler: Delete copy-ctor and copy-assignment
Diffstat (limited to 'api/direct_bt/GATTHandler.hpp')
-rw-r--r--api/direct_bt/GATTHandler.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/direct_bt/GATTHandler.hpp b/api/direct_bt/GATTHandler.hpp
index 00991339..8826f395 100644
--- a/api/direct_bt/GATTHandler.hpp
+++ b/api/direct_bt/GATTHandler.hpp
@@ -241,6 +241,9 @@ namespace direct_bt {
*/
GATTHandler(const std::shared_ptr<DBTDevice> & device) noexcept;
+ GATTHandler(const GATTHandler&) = delete;
+ void operator=(const GATTHandler&) = delete;
+
/** Destructor closing this instance including L2CAP channel, see {@link #disconnect()}. */
~GATTHandler() noexcept;