diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-09-15 12:50:24 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-09-15 12:50:24 +0300 |
commit | ac83bef9d7bc6e31e8487e2f8e01ea63269dc4f9 (patch) | |
tree | 0c1ffd935935eb3587c8974f90050015d9ce2f8d | |
parent | e9c80196d3c5e290409dbe88e6a9b7cfbe2f0945 (diff) |
Fix broken last commit on POSIX.
-rw-r--r-- | include/llfio/v2.0/detail/impl/map_handle.ipp | 4 |
1 files 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); } } } |