diff --git a/src/branches.cpp b/src/branches.cpp index 0d2ecce3..f779498c 100644 --- a/src/branches.cpp +++ b/src/branches.cpp @@ -456,7 +456,7 @@ Branches::find_and_set_mode_ro() Branches::Ptr new_impl; impl = std::atomic_load(&_impl); - new_impl = std::make_shared(impl->minfreespace()); + new_impl = std::make_shared(&minfreespace); *new_impl = *impl;