Browse Source

branch_tier.cpp

toml4
Antonio SJ Musumeci 10 months ago
parent
commit
82b94c955c
  1. 12
      src/branch_tier.cpp

12
src/branch_tier.cpp

@ -9,7 +9,7 @@ namespace l
load_branch_literal(toml::table const &v_, load_branch_literal(toml::table const &v_,
std::vector<Branch2> &branches_) std::vector<Branch2> &branches_)
{ {
} }
static static
@ -17,16 +17,16 @@ namespace l
load_branch_glob(toml::table const &v_, load_branch_glob(toml::table const &v_,
std::vector<Branch2> &branches_) std::vector<Branch2> &branches_)
{ {
} }
static static
void void
load_branch_scan(toml::table const &v_, load_branch_scan(toml::table const &v_,
std::vector<Branch2> &branches_) std::vector<Branch2> &branches_)
{ {
}
}
} }
BranchTier::BranchTier() BranchTier::BranchTier()
@ -40,7 +40,7 @@ BranchTier::BranchTier(toml::value const &v_)
for(auto const &branch : branches) for(auto const &branch : branches)
{ {
std::string type;
std::string type;
auto const &table = branch.as_table(); auto const &table = branch.as_table();
type = table.at("type").as_string(); type = table.at("type").as_string();

Loading…
Cancel
Save