IAP GITLAB

Skip to content
Snippets Groups Projects
Commit fd304b3d authored by Ralf Ulrich's avatar Ralf Ulrich
Browse files

Merge branch '404-replace-std-experimental-filesystem-with-boost-filesystem' into 'master'

Resolve "Replace std::experimental::filesystem with boost::filesystem"

Closes #404

See merge request !336
parents 206e2597 41d2b0b0
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@
#include <string>
#include <cstdlib>
#include <experimental/filesystem>
#include <boost/filesystem.hpp>
/*
NOTE, WARNING, ATTENTION
......@@ -56,13 +56,12 @@ TEST_CASE("CORSIKA_DATA", "[processes]") {
const char* data = std::getenv("CORSIKA_DATA");
// these CHECKS are needed:
CHECK(data != 0);
CHECK(std::experimental::filesystem::is_directory(
std::experimental::filesystem::path(std::string(data) + "/QGSJetII")));
CHECK(boost::filesystem::is_directory(boost::filesystem::path(data) / "QGSJetII"));
CORSIKA_LOG_INFO(
"data: {}"
" isDir: {}"
"/QGSJetII",
data, std::experimental::filesystem::is_directory(std::string(data)));
data, boost::filesystem::is_directory(data));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment