From acec80b0102fad9e72a5830ba3419a84bafa352a Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Mon, 25 May 2020 18:21:50 +0200
Subject: [PATCH] switch to non-experimental filesystem include

---
 alib2integrationtest/test-src/testing/TestFiles.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/alib2integrationtest/test-src/testing/TestFiles.cpp b/alib2integrationtest/test-src/testing/TestFiles.cpp
index 4fa15b9889..63260f7f4b 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;
 	}
 
-- 
GitLab