diff --git a/src/utils/io.cpp b/src/utils/io.cpp index 476a3c9..e09f10a 100644 --- a/src/utils/io.cpp +++ b/src/utils/io.cpp @@ -80,24 +80,24 @@ namespace utils::io bool create_directory(const std::string& directory) { - return std::experimental::filesystem::create_directories(directory); + return std::filesystem::create_directories(directory); } bool directory_exists(const std::string& directory) { - return std::experimental::filesystem::is_directory(directory); + return std::filesystem::is_directory(directory); } bool directory_is_empty(const std::string& directory) { - return std::experimental::filesystem::is_empty(directory); + return std::filesystem::is_empty(directory); } std::vector list_files(const std::string& directory) { std::vector files; - for (auto& file : std::experimental::filesystem::directory_iterator(directory)) + for (auto& file : std::filesystem::directory_iterator(directory)) { files.push_back(file.path().generic_string()); }