diff --git a/src/branches2.cpp b/src/branches2.cpp index 71de0ba4..4d3b3ad9 100644 --- a/src/branches2.cpp +++ b/src/branches2.cpp @@ -21,8 +21,8 @@ Branches2::Branches2(toml::value const &v_) { auto const &branch_table = branch.as_table(); - fmt::print("{}\n", - branch_table.at("type").as_string().str()); + std::string s = branch_table.at("type").as_string(); + fmt::print("{}\n",s); } } }