use std::filesystem directly

This commit is contained in:
Arne Morten Kvarving committed 2021-11-01 12:31:58 +01:00
1 parent 1a80378b0a
commit 06bd25575f
9 files changed
+29 -24

No files matched your search

@@ -23,6 +23,8 @@
#include <dune/istl/matrixmarket.hh>
#include <opm/simulators/linalg/MatrixMarketSpecializations.hpp>
#include <filesystem>
namespace Opm
{
@@ -40,7 +42,7 @@ namespace Helper
} else if (!dir.empty() && dir.back() != '/') {
dir += "/";
}
namespace fs = ::Opm::filesystem;
namespace fs = ::std::filesystem;
fs::path output_dir(dir);
fs::path subdir("reports");
output_dir = output_dir / subdir;