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 AirShowerPhysics/corsika!336
parents 206e2597 41d2b0b0
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <string> #include <string>
#include <cstdlib> #include <cstdlib>
#include <experimental/filesystem> #include <boost/filesystem.hpp>
/* /*
NOTE, WARNING, ATTENTION NOTE, WARNING, ATTENTION
...@@ -56,13 +56,12 @@ TEST_CASE("CORSIKA_DATA", "[processes]") { ...@@ -56,13 +56,12 @@ TEST_CASE("CORSIKA_DATA", "[processes]") {
const char* data = std::getenv("CORSIKA_DATA"); const char* data = std::getenv("CORSIKA_DATA");
// these CHECKS are needed: // these CHECKS are needed:
CHECK(data != 0); CHECK(data != 0);
CHECK(std::experimental::filesystem::is_directory( CHECK(boost::filesystem::is_directory(boost::filesystem::path(data) / "QGSJetII"));
std::experimental::filesystem::path(std::string(data) + "/QGSJetII")));
CORSIKA_LOG_INFO( CORSIKA_LOG_INFO(
"data: {}" "data: {}"
" isDir: {}" " isDir: {}"
"/QGSJetII", "/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