aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-06-26 07:40:01 +0200
committerSven Gothel <[email protected]>2020-06-26 07:40:01 +0200
commit898526066ff34decceb69314e047ee818f6db851 (patch)
tree21f07f22768bc118a37afbdd2ca8510b73029c85
parente43da7302ecfcb84758bf5d286da60392c742634 (diff)
L2CAPComm ctor: Remove default param in impl, as only allowed in declaration
-rw-r--r--src/direct_bt/L2CAPComm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/L2CAPComm.cpp b/src/direct_bt/L2CAPComm.cpp
index c5e06891..fe98e95d 100644
--- a/src/direct_bt/L2CAPComm.cpp
+++ b/src/direct_bt/L2CAPComm.cpp
@@ -97,7 +97,7 @@ int L2CAPComm::l2cap_close_dev(int dd)
// *************************************************
// *************************************************
-L2CAPComm::L2CAPComm(std::shared_ptr<DBTDevice> device, const uint16_t psm, const uint16_t cid, const bool pubaddr=true)
+L2CAPComm::L2CAPComm(std::shared_ptr<DBTDevice> device, const uint16_t psm, const uint16_t cid, const bool pubaddr)
: device(device), deviceString(device->getAddressString()), psm(psm), cid(cid), pubaddr(pubaddr),
_dd(-1), isConnected(false), hasIOError(false), interruptFlag(false), tid_connect(0)
{ }