diff --git a/alib2integrationtest/test-src/testing/TestFiles.cpp b/alib2integrationtest/test-src/testing/TestFiles.cpp index 4fa15b988986796f651a4de8a373b60064ea2eb1..63260f7f4b7e2c47758cd696d763fc1fbcd2be95 100644 --- a/alib2integrationtest/test-src/testing/TestFiles.cpp +++ b/alib2integrationtest/test-src/testing/TestFiles.cpp @@ -2,7 +2,7 @@ #include "testfiles_basedir.hpp" #include <exception/CommonException.h> -#include <experimental/filesystem> +#include <filesystem> std::vector < std::string > TestFiles::Get ( const std::string& regex ) { return Get ( std::regex ( regex ) ); @@ -12,7 +12,7 @@ std::vector < std::string > TestFiles::Get ( const std::regex& regex ) { std::vector < std::string > res; try { - for ( const std::experimental::filesystem::directory_entry & entry: std::experimental::filesystem::recursive_directory_iterator ( TEST_FILES_BASEDIR ) ) { + for ( const std::filesystem::directory_entry & entry: std::filesystem::recursive_directory_iterator ( TEST_FILES_BASEDIR ) ) { std::smatch match; const std::string path = entry.path ( ); @@ -20,7 +20,7 @@ std::vector < std::string > TestFiles::Get ( const std::regex& regex ) { res.push_back ( path ); } } - } catch ( const std::experimental::filesystem::filesystem_error & e ) { + } catch ( const std::filesystem::filesystem_error & e ) { throw; }