updated build system
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user