diff options
author | Sven Gothel <[email protected]> | 2022-01-12 05:21:51 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-01-12 05:21:51 +0100 |
commit | cbefe88e87d1d9241a0d53492f52d6d0093cec7c (patch) | |
tree | 7ebcfa3ed5f2a7af4402d227f135784c8d8bd8af /src/direct_bt/BTGattHandler.cpp | |
parent | aa85ac0105b0971a737ad1809512442d7a993558 (diff) |
BTGattHandler: Add 'noexcept' to l2capReader Callbacks
Diffstat (limited to 'src/direct_bt/BTGattHandler.cpp')
-rw-r--r-- | src/direct_bt/BTGattHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/direct_bt/BTGattHandler.cpp b/src/direct_bt/BTGattHandler.cpp index 5ec9a88c..620fb00d 100644 --- a/src/direct_bt/BTGattHandler.cpp +++ b/src/direct_bt/BTGattHandler.cpp @@ -1014,7 +1014,7 @@ void BTGattHandler::replyAttPDUReq(std::unique_ptr<const AttPDUMsg> && pdu) { } } -void BTGattHandler::l2capReaderWork(jau::service_runner& sr) { +void BTGattHandler::l2capReaderWork(jau::service_runner& sr) noexcept { jau::snsize_t len; if( !validateConnected() ) { ERR_PRINT("GATTHandler::reader: Invalid IO state -> Stop"); @@ -1103,12 +1103,12 @@ void BTGattHandler::l2capReaderWork(jau::service_runner& sr) { } } -void BTGattHandler::l2capReaderEndLocked(jau::service_runner& sr) { +void BTGattHandler::l2capReaderEndLocked(jau::service_runner& sr) noexcept { (void)sr; WORDY_PRINT("GATTHandler::reader: Ended. Ring has %u entries flushed", attPDURing.size()); attPDURing.clear(); } -void BTGattHandler::l2capReaderEndFinal(jau::service_runner& sr) { +void BTGattHandler::l2capReaderEndFinal(jau::service_runner& sr) noexcept { (void)sr; disconnect(true /* disconnectDevice */, has_ioerror); } |