diff options
author | Sven Gothel <[email protected]> | 2022-11-28 22:27:28 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-11-28 22:27:28 +0100 |
commit | 06e05d335344a2ba713e982988c970836f154396 (patch) | |
tree | 2a06e32ad024f7fb48a64ca13774a28de0fc6c51 /api/direct_bt | |
parent | b1e64c91c680556142c8f97d4746229b8946928f (diff) |
Replace remaining std::function with jau::function
Diffstat (limited to 'api/direct_bt')
-rw-r--r-- | api/direct_bt/HCIHandler.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/direct_bt/HCIHandler.hpp b/api/direct_bt/HCIHandler.hpp index e2521aad..04e66d17 100644 --- a/api/direct_bt/HCIHandler.hpp +++ b/api/direct_bt/HCIHandler.hpp @@ -30,7 +30,6 @@ #include <string> #include <cstdint> #include <array> -#include <functional> #include <mutex> #include <atomic> @@ -42,6 +41,7 @@ #include <jau/java_uplink.hpp> #include <jau/octets.hpp> #include <jau/service_runner.hpp> +#include <jau/functional.hpp> #include "BTTypes0.hpp" #include "BTIoctl.hpp" @@ -465,7 +465,7 @@ namespace direct_bt { * * @return HCIStatusCode::SUCCESS to continue the process, otherwise to abort process. */ - typedef std::function<HCIStatusCode() /* noexcept */> PostShutdownFunc; + typedef jau::function<HCIStatusCode() /* noexcept */> PostShutdownFunc; /** * Complete adapter reset. |