diff options
author | Sven Gothel <[email protected]> | 2020-10-20 08:16:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-10-20 08:16:13 +0200 |
commit | aa43800a7722940ac1a902b088a6900e29efd0c9 (patch) | |
tree | 47f0bc5162b61a41786171dc900cd74070315d86 /api | |
parent | 1ab5287b269a71589d9693de1df84239c1490c59 (diff) |
adopt ringbuffer Size_type changes, using jau::nsize_t
Revising commit 2e40a6fbb84ef21bb9551c653199964e55d7954b
Diffstat (limited to 'api')
-rw-r--r-- | api/direct_bt/DBTManager.hpp | 2 | ||||
-rw-r--r-- | api/direct_bt/GATTHandler.hpp | 2 | ||||
-rw-r--r-- | api/direct_bt/HCIHandler.hpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/api/direct_bt/DBTManager.hpp b/api/direct_bt/DBTManager.hpp index 9f8268c5..efefa6bd 100644 --- a/api/direct_bt/DBTManager.hpp +++ b/api/direct_bt/DBTManager.hpp @@ -168,7 +168,7 @@ namespace direct_bt { POctets rbuffer; HCIComm comm; - jau::ringbuffer<std::shared_ptr<MgmtEvent>, nullptr> mgmtEventRing; + jau::ringbuffer<std::shared_ptr<MgmtEvent>, nullptr, jau::nsize_t> mgmtEventRing; std::atomic<bool> mgmtReaderShallStop; std::mutex mtx_mgmtReaderLifecycle; diff --git a/api/direct_bt/GATTHandler.hpp b/api/direct_bt/GATTHandler.hpp index b1c05a07..fc202ff6 100644 --- a/api/direct_bt/GATTHandler.hpp +++ b/api/direct_bt/GATTHandler.hpp @@ -163,7 +163,7 @@ namespace direct_bt { std::atomic<bool> is_connected; // reflects state std::atomic<bool> has_ioerror; // reflects state - jau::ringbuffer<std::shared_ptr<const AttPDUMsg>, nullptr> attPDURing; + jau::ringbuffer<std::shared_ptr<const AttPDUMsg>, nullptr, jau::nsize_t> attPDURing; std::atomic<bool> l2capReaderShallStop; std::mutex mtx_l2capReaderLifecycle; diff --git a/api/direct_bt/HCIHandler.hpp b/api/direct_bt/HCIHandler.hpp index a2151d7f..6943542c 100644 --- a/api/direct_bt/HCIHandler.hpp +++ b/api/direct_bt/HCIHandler.hpp @@ -213,7 +213,7 @@ namespace direct_bt { constexpr static void filter_all_opcbit(uint64_t &mask) noexcept { mask=0xffffffffffffffffUL; } inline static void filter_set_opcbit(HCIOpcodeBit opcbit, uint64_t &mask) noexcept { jau::set_bit_uint64(number(opcbit), mask); } - jau::ringbuffer<std::shared_ptr<HCIEvent>, nullptr> hciEventRing; + jau::ringbuffer<std::shared_ptr<HCIEvent>, nullptr, jau::nsize_t> hciEventRing; std::atomic<bool> hciReaderShallStop; std::mutex mtx_hciReaderLifecycle; |