diff --git a/src/branches2.cpp b/src/branches2.cpp index 0e949f16..76e3c5e8 100644 --- a/src/branches2.cpp +++ b/src/branches2.cpp @@ -19,7 +19,7 @@ Branches2::Branches2(toml::value const &v_) { auto const &branch_table = branch.as_table(); - if(branch_table["type"].as_string() == "literal"); + if(toml::find(branch_table,"type") == "literal); } } }