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