diff options
author | Sven Gothel <[email protected]> | 2020-06-26 07:40:01 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-06-26 07:40:01 +0200 |
commit | 898526066ff34decceb69314e047ee818f6db851 (patch) | |
tree | 21f07f22768bc118a37afbdd2ca8510b73029c85 | |
parent | e43da7302ecfcb84758bf5d286da60392c742634 (diff) |
L2CAPComm ctor: Remove default param in impl, as only allowed in declaration
-rw-r--r-- | src/direct_bt/L2CAPComm.cpp | 2 |
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) { } |