fix
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2023-11-11 21:24:15 -06:00
parent 3ed99dc0ce
commit db009b69dd

View File

@ -61,10 +61,10 @@ auto combine(std::string path, const std::vector<std::string> &paths)
return finalize( return finalize(
std::accumulate(paths.begin(), paths.end(), path, std::accumulate(paths.begin(), paths.end(), path,
[](std::string next_path, const auto &path_part) { [](std::string next_path, const auto &path_part) {
if (not next_path.empty()) { if (next_path.empty()) {
next_path += (directory_seperator + path_part); return path_part;
} }
return next_path; return next_path + (directory_seperator + path_part);
})); }));
} }