Browse Source

branch_tier.cpp

toml4
Antonio SJ Musumeci 8 months ago
parent
commit
2c60026c06
  1. 2
      src/branch_tier.cpp

2
src/branch_tier.cpp

@ -62,7 +62,7 @@ BranchTier::BranchTier(toml::value const &v_)
std::string type; std::string type;
auto const &table = branch.as_table(); auto const &table = branch.as_table();
enabled = toml::find_or(v_,"enabled",false);
enabled = toml::find_or(table,"enabled",false);
if(!enabled) if(!enabled)
continue; continue;

Loading…
Cancel
Save