updated build system
Some checks failed
BlockStorage/repertory/pipeline/head There was a failure building this commit

This commit is contained in:
2024-08-23 16:54:00 -05:00
parent 46490f9930
commit c0be6765ab
3 changed files with 10 additions and 4 deletions

View File

@ -58,11 +58,11 @@ auto traverse_directory(
::FindClose(find);
#else // !defined(_WIN32)
auto *root = opendir(path.c_str());
auto *root = opendir(std::string{path}.c_str());
if (root == nullptr) {
throw std::runtime_error("failed to open directory|" + std::string{path} +
'|' +
std::to_string(utils::get_last_error_code()));
throw std::runtime_error(
"failed to open directory|" + std::string{path} + '|' +
std::to_string(repertory::utils::get_last_error_code()));
}
struct dirent *de{};