diff options
author | Sven Gothel <[email protected]> | 2022-09-14 15:41:12 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-09-14 15:41:12 +0200 |
commit | 511b6fc169544f72ab61b27bbe607979fee7ca97 (patch) | |
tree | 82e2c69f89c55b84a0b87105a08b0c8c418c7e23 /src | |
parent | 04c6ea1c68a027072fb935d26f281ae924acf8a4 (diff) |
jau::service_runner CB BTAdapter::l2capServer*(): Add 'noexcept'
Diffstat (limited to 'src')
-rw-r--r-- | src/direct_bt/BTAdapter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/direct_bt/BTAdapter.cpp b/src/direct_bt/BTAdapter.cpp index 831eb734..44e0cd11 100644 --- a/src/direct_bt/BTAdapter.cpp +++ b/src/direct_bt/BTAdapter.cpp @@ -1789,7 +1789,7 @@ bool BTAdapter::mgmtEvLocalNameChangedMgmt(const MgmtEvent& e) noexcept { return true; } -void BTAdapter::l2capServerInit(jau::service_runner& sr0) { +void BTAdapter::l2capServerInit(jau::service_runner& sr0) noexcept { (void)sr0; l2cap_att_srv.set_interrupted_query( jau::bindMemberFunc(&l2cap_service, &jau::service_runner::shall_stop2) ); @@ -1799,14 +1799,14 @@ void BTAdapter::l2capServerInit(jau::service_runner& sr0) { } } -void BTAdapter::l2capServerEnd(jau::service_runner& sr) { +void BTAdapter::l2capServerEnd(jau::service_runner& sr) noexcept { (void)sr; if( !l2cap_att_srv.close() ) { ERR_PRINT("Adapter[%d]: L2CAP ATT close failed: %s", dev_id, l2cap_att_srv.toString().c_str()); } } -void BTAdapter::l2capServerWork(jau::service_runner& sr) { +void BTAdapter::l2capServerWork(jau::service_runner& sr) noexcept { (void)sr; std::unique_ptr<L2CAPClient> l2cap_att_ = l2cap_att_srv.accept(); if( BTRole::Slave == getRole() && nullptr != l2cap_att_ ) { |