Codechange: Add format_append as short-hand to format_to + back_inserter.

This commit is contained in:
frosch
2025-04-29 12:37:34 +02:00
committed by frosch
parent 98481ecc01
commit fda93b6f35
12 changed files with 32 additions and 27 deletions

View File

@@ -168,7 +168,7 @@ std::string ScriptConfig::SettingsToString() const
std::string result;
for (const auto &item : this->settings) {
fmt::format_to(std::back_inserter(result), "{}={},", item.first, item.second);
format_append(result, "{}={},", item.first, item.second);
}
/* Remove the last ','. */