Auto-commit branches.cpp

This commit is contained in:
Antonio SJ Musumeci 2026-04-14 23:48:28 -05:00
parent f8ec53d8be
commit 265d667b7a

View file

@ -452,7 +452,7 @@ Branches::to_string(void) const
void
Branches::find_and_set_mode_ro()
{
auto impl = std::atomic_load(&_impl);
Branches::Ptr impl = std::atomic_load(&_impl);
auto new_impl = std::make_shared<Branches::Impl>(impl->minfreespace());
*new_impl = *impl;