Browse Source

branch_tier.cpp

toml4
Antonio SJ Musumeci 10 months ago
parent
commit
40158677dc
  1. 6
      src/branch_tier.cpp

6
src/branch_tier.cpp

@ -14,8 +14,10 @@ BranchTier::BranchTier(toml::value const &v_)
for(auto const &branch : branches) for(auto const &branch : branches)
{ {
auto const &table = branch.as_table(); 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);
} }
} }
Loading…
Cancel
Save