branch_tier.cpp

This commit is contained in:
Antonio SJ Musumeci 2024-03-10 15:27:19 -05:00
parent 281c8eef63
commit b1d725032e
2 changed files with 2 additions and 14 deletions

View file

@ -75,16 +75,3 @@ BranchTier::BranchTier(toml::value const &v_)
l::load_branch_scan(table,_branches);
}
}
void
BranchTier::copy_enabled_rw(BranchTier &bt_) const
{
for(auto const &b : _branches)
{
if(b.enabled == false)
continue;
if(b.mode != +Branch2::Mode::RW)
continue;
bt_._branches.emplace_back(b);
}
}