Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-09-15 12:50:24 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2021-09-15 12:50:24 +0300
commitac83bef9d7bc6e31e8487e2f8e01ea63269dc4f9 (patch)
tree0c1ffd935935eb3587c8974f90050015d9ce2f8d
parente9c80196d3c5e290409dbe88e6a9b7cfbe2f0945 (diff)
Fix broken last commit on POSIX.
-rw-r--r--include/llfio/v2.0/detail/impl/map_handle.ipp4
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);
}
}
}