diff --git a/src/branches2.cpp b/src/branches2.cpp index ea659cbd..bd6199d8 100644 --- a/src/branches2.cpp +++ b/src/branches2.cpp @@ -26,9 +26,12 @@ Branches2::Branches2(toml::value const &v_) void Branches2::copy_enabled_rw(Branches2 &b_) { + _branches.resize(b_._branches.size()); for(auto const &bt : _branches) { + BranchTier newbt; + bt.copy_enabled_rw(newbt) } }