From ba0f72ac3f8b76d6a264062df848f82f604957dc Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sat, 24 Apr 2021 22:10:45 +0200 Subject: [PATCH] ofstream boost::filesystem --- corsika/detail/output/OutputManager.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corsika/detail/output/OutputManager.inl b/corsika/detail/output/OutputManager.inl index 15b361507..3badfd1db 100644 --- a/corsika/detail/output/OutputManager.inl +++ b/corsika/detail/output/OutputManager.inl @@ -30,7 +30,7 @@ namespace corsika { out << node; // open the output file - this is <output name>.yaml - std::ofstream file(path); + std::ofstream file(path.string()); // dump the YAML to the file file << out.c_str() << std::endl; -- GitLab