diff --git a/src/branches2.cpp b/src/branches2.cpp index ce3e78ce..4851a943 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(toml::find(branch_table,"type") == "literal"); + branch_table.at("type"); } } }