diff --git a/src/Utils/IO.cpp b/src/Utils/IO.cpp index e2d30dc0..7310b529 100644 --- a/src/Utils/IO.cpp +++ b/src/Utils/IO.cpp @@ -81,24 +81,24 @@ namespace Utils bool CreateDir(const std::string& dir) { - return std::experimental::filesystem::create_directories(dir); + return std::filesystem::create_directories(dir); } bool DirectoryExists(const std::string& directory) { - return std::experimental::filesystem::is_directory(directory); + return std::filesystem::is_directory(directory); } bool DirectoryIsEmpty(const std::string& directory) { - return std::experimental::filesystem::is_empty(directory); + return std::filesystem::is_empty(directory); } std::vector ListFiles(const std::string& dir) { std::vector files; - for (auto& file : std::experimental::filesystem::directory_iterator(dir)) + for (auto& file : std::filesystem::directory_iterator(dir)) { files.push_back(file.path().generic_string()); }