mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-05 13:46:46 -05:00
use std::filesystem directly
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user