diff --git a/src/branch_tier.cpp b/src/branch_tier.cpp index 78897189..76a17dab 100644 --- a/src/branch_tier.cpp +++ b/src/branch_tier.cpp @@ -62,7 +62,7 @@ BranchTier::BranchTier(toml::value const &v_) std::string type; auto const &table = branch.as_table(); - enabled = toml::find_or(v_,"enabled",false); + enabled = toml::find_or(table,"enabled",false); if(!enabled) continue;