IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 41d2b0b0 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

std::experimental::filesystem -> boost::filesystem

parent 206e2597
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