Code style fixes

This commit is contained in:
TheAssassin
2022-01-11 19:24:08 +01:00
committed by GitHub
parent fc27076843
commit 0f5361b457

View File

@@ -56,13 +56,14 @@ namespace linuxdeploy {
return split(s, '\n');
}
static std::string join(const std::vector<std::string> &strings, const std::string &delimiter)
{
static std::string join(const std::vector<std::string> &strings, const std::string &delimiter) {
std::string result;
for (size_t i = 0; i < strings.size(); i++) {
result += strings[i];
if (i != strings.size() - 1)
if (i != strings.size() - 1) {
result += delimiter;
}
}
return result;
}