updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2024-08-31 12:43:06 -05:00
parent 0ed11f06ba
commit dfd34628a8

View File

@ -87,12 +87,10 @@ auto create_temp_name(std::string_view file_part) -> std::string {
utils::generate_random_between<std::uint8_t>(0U, 9U),
};
auto name = std::string{file_part} + '_';
for (auto &&val : data) {
name += std::to_string(val);
}
return name;
return std::accumulate(data.begin(), data.end(), std::string{file_part} + '_',
[](auto &&name, auto &&val) -> auto {
return name + std::to_string(val);
});
}
auto create_temp_name(std::wstring_view file_part) -> std::wstring {