Commit dcf2c79a authored by Ing. Jan Trávníček's avatar Ing. Jan Trávníček

conditional filesystem include needed by OpenSUSE15.2

parent 1cf1e633
......@@ -2,7 +2,12 @@
#include "testfiles_basedir.hpp"
#include <exception/CommonException.h>
#include <filesystem>
#if __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#define filesystem experimental::filesystem
#endif
std::vector < std::string > TestFiles::Get ( const std::string& regex ) {
return Get ( std::regex ( regex ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment