Merge branch 'bug/fix-pipeline' into develop

This commit is contained in:
/dev/urandom 2019-10-02 23:53:40 +02:00
commit c358c7f969
No known key found for this signature in database
GPG Key ID: 41322B973E0F295E

View File

@ -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<std::string> ListFiles(const std::string& dir)
{
std::vector<std::string> 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());
}