Skip to content

Commit

Permalink
Fix broken last commit on POSIX.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Sep 15, 2021
1 parent e9c8019 commit ac83bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/llfio/v2.0/detail/impl/map_handle.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit ac83bef

Please sign in to comment.