aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-09-24 16:59:46 +0200
committerSven Gothel <[email protected]>2020-09-24 16:59:46 +0200
commitaafd4696d2cc1139484d1a9907197ff28380706c (patch)
tree39173ef126a99f595ed25d4a475719f25a70df66
parent619fd2c85d03fb8ab3bbf6c84ac3fc935ab4c9f3 (diff)
DBTAdapter::addDeviceToWhitelist: Fix copy/paste editing bug (oops)v2.1.28
commit 148c4a901c1d69e47364ba78465e25386be5cf97 added the erroneous 'noexcept' here.
-rw-r--r--api/direct_bt/DBTAdapter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/direct_bt/DBTAdapter.hpp b/api/direct_bt/DBTAdapter.hpp
index 273887da..f710c83d 100644
--- a/api/direct_bt/DBTAdapter.hpp
+++ b/api/direct_bt/DBTAdapter.hpp
@@ -381,7 +381,7 @@ namespace direct_bt {
bool addDeviceToWhitelist(const EUI48 &address, const BDAddressType address_type,
const HCIWhitelistConnectType ctype,
const uint16_t conn_interval_min=12, const uint16_t conn_interval_max=12,
- const uint16_t conn_latency=0, const uint16_t supervision_timeout=getHCIConnSupervisorTimeout(0, 15)) noexcept;
+ const uint16_t conn_latency=0, const uint16_t supervision_timeout=getHCIConnSupervisorTimeout(0, 15));
/** Remove the given device from the adapter's autoconnect whitelist. */