From 40158677dc0dfca70da5fe6e95c2d4753c92a529 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 28 Jan 2024 23:03:34 -0600 Subject: [PATCH] branch_tier.cpp --- src/branch_tier.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); } }