summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-05-23 04:21:54 +0200
committerSven Gothel <[email protected]>2022-05-23 04:21:54 +0200
commitbf80c4778ae668394c9f0c7b60ae83c7f21e73e5 (patch)
tree39ffdd3830ccdc1caa67980650444d3dfe283e99 /src
parent4a35d8c9450fe1f6a61fdf30aeb6f944244dc884 (diff)
Bump jaulib v0.10.1-1-g6eea830 and adapt to minor changes
Diffstat (limited to 'src')
-rw-r--r--src/direct_bt/BTManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/direct_bt/BTManager.cpp b/src/direct_bt/BTManager.cpp
index 518bb620..f8e9665e 100644
--- a/src/direct_bt/BTManager.cpp
+++ b/src/direct_bt/BTManager.cpp
@@ -1184,11 +1184,11 @@ int BTManager::removeChangedAdapterSetCallback(const ChangedAdapterSetCallback &
void BTManager::addChangedAdapterSetCallback(ChangedAdapterSetFunc f) {
addChangedAdapterSetCallback(
ChangedAdapterSetCallback(
- jau::bindPlainFunc<bool, bool, std::shared_ptr<BTAdapter>&>(f)
+ jau::bindFreeFunc<bool, bool, std::shared_ptr<BTAdapter>&>(f)
) );
}
int BTManager::removeChangedAdapterSetCallback(ChangedAdapterSetFunc f) {
- ChangedAdapterSetCallback l( jau::bindPlainFunc<bool, bool, std::shared_ptr<BTAdapter>&>(f) );
+ ChangedAdapterSetCallback l( jau::bindFreeFunc<bool, bool, std::shared_ptr<BTAdapter>&>(f) );
return mgmtChangedAdapterSetCallbackList.erase_matching(l, true /* all_matching */, _changedAdapterSetCallbackEqComp);
}