diff --git a/src/branch_tier.cpp b/src/branch_tier.cpp index daab33a0..19c2b0da 100644 --- a/src/branch_tier.cpp +++ b/src/branch_tier.cpp @@ -14,8 +14,10 @@ BranchTier::BranchTier(toml::value const &v_) for(auto const &branch : branches) { auto const &table = branch.as_table(); + std::string type; - std::string s = table.at("type").as_string(); - fmt::print("{}\n",s); + type = table.at("type"); + + fmt::print("{}\n",type); } }