Browse Source

branches2.cpp

toml4
Antonio SJ Musumeci 10 months ago
parent
commit
0c4d9cc69f
  1. 2
      src/branches2.cpp

2
src/branches2.cpp

@ -19,7 +19,7 @@ Branches2::Branches2(toml::value const &v_)
{ {
auto const &branch_table = branch.as_table(); auto const &branch_table = branch.as_table();
if(branch_table["type"].as_string() == "literal");
if(toml::find<std::string>(branch_table,"type") == "literal);
} }
} }
} }
Loading…
Cancel
Save