Skip to content

Commit

Permalink
Fix map_handle::set_cache_disable() recursing forever.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Sep 17, 2021
1 parent d4d45be commit 306f473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llfio/v2.0/detail/impl/map_handle.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ map_handle::cache_statistics map_handle::trim_cache(std::chrono::steady_clock::t
bool map_handle::set_cache_disabled(bool disabled) noexcept
{
auto *c = detail::map_handle_cache();
return (c != nullptr) ? set_cache_disabled(disabled) : true;
return (c != nullptr) ? c->set_cache_disabled(disabled) : true;
}

LLFIO_V2_NAMESPACE_END

0 comments on commit 306f473

Please sign in to comment.