diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-09-17 14:24:12 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-09-17 14:24:12 +0300 |
commit | 306f473ffa4a42ed99ee5beaea3fcbea79879af1 (patch) | |
tree | 935b7a1705cfdff6583e3d17042500b1b9f96048 | |
parent | d4d45be073dfb9d595c68b4881d09610955d45af (diff) |
Fix map_handle::set_cache_disable() recursing forever.
-rw-r--r-- | include/llfio/v2.0/detail/impl/map_handle.ipp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/map_handle.ipp b/include/llfio/v2.0/detail/impl/map_handle.ipp index e03587a7..bba67b62 100644 --- a/include/llfio/v2.0/detail/impl/map_handle.ipp +++ b/include/llfio/v2.0/detail/impl/map_handle.ipp @@ -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 |