Browse Source

branch_tier.cpp

toml4
Antonio SJ Musumeci 8 months ago
parent
commit
f2f6efd9af
  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(table,"enabled",false);
enabled = toml::find_or(branch,"enabled",false);
if(!enabled) if(!enabled)
continue; continue;

Loading…
Cancel
Save