From ac83bef9d7bc6e31e8487e2f8e01ea63269dc4f9 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 15 Sep 2021 10:50:24 +0100 Subject: Fix broken last commit on POSIX. --- include/llfio/v2.0/detail/impl/map_handle.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llfio/v2.0/detail/impl/map_handle.ipp b/include/llfio/v2.0/detail/impl/map_handle.ipp index 70c12822..46fc46c8 100644 --- a/include/llfio/v2.0/detail/impl/map_handle.ipp +++ b/include/llfio/v2.0/detail/impl/map_handle.ipp @@ -273,12 +273,12 @@ bool map_handle::_recycle_map() noexcept #ifdef __linux__ else { - if(c.do_not_store_failed_count.load(std::memory_order_relaxed) < 10) + if(c->do_not_store_failed_count.load(std::memory_order_relaxed) < 10) { auto r = do_not_store({_addr, _length}); if(!r || r.assume_value().size() == 0) { - c.do_not_store_failed_count.fetch_add(1, std::memory_order_relaxed); + c->do_not_store_failed_count.fetch_add(1, std::memory_order_relaxed); } } } -- cgit v1.2.3