checkpoint

This commit is contained in:
Antonio SJ Musumeci 2024-01-28 22:45:38 -06:00
parent e769d94e00
commit 479cfafe5a
2 changed files with 41 additions and 0 deletions

21
src/branch_tier.cpp Normal file
View file

@ -0,0 +1,21 @@
#include "branch_tier.hpp"
#include "fmt/core.h"
BranchTier::BranchTier()
{
}
BranchTier::BranchTier(toml::value const &v_)
{
auto const &branches = toml::find(v_,"branch").as_array();
for(auto const &branch : branches)
{
auto const &table = branch.as_table();
std::string s = table.at("type").as_string();
fmt::print("{}\n",s);
}
}