From 9ae8b8095c6f31e67f3556e14de0456fb6851a0d Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 7 Feb 2024 22:25:21 -0600 Subject: [PATCH] branches2.cpp --- src/branches2.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) } }