diff options
Diffstat (limited to 'trial/direct_bt/dbt_endpoint.hpp')
-rw-r--r-- | trial/direct_bt/dbt_endpoint.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trial/direct_bt/dbt_endpoint.hpp b/trial/direct_bt/dbt_endpoint.hpp index 217ad43b..129fdd8a 100644 --- a/trial/direct_bt/dbt_endpoint.hpp +++ b/trial/direct_bt/dbt_endpoint.hpp @@ -125,7 +125,7 @@ class DBTEndpoint { static ChangedAdapterSetCallback initChangedAdapterSetListener(const BTManagerRef& manager, std::vector<DBTEndpointRef> endpts) { const std::lock_guard<std::mutex> lock(mtx_cas_endpts); // RAII-style acquire and relinquish via destructor cas_endpts = std::move( endpts ); - ChangedAdapterSetCallback casc = jau::bindPlainFunc(&DBTEndpoint::myChangedAdapterSetFunc); + ChangedAdapterSetCallback casc = jau::bindFreeFunc(&DBTEndpoint::myChangedAdapterSetFunc); manager->addChangedAdapterSetCallback(casc); for(DBTEndpointRef endpt : cas_endpts ) { REQUIRE( nullptr != endpt->getAdapter() ); |