diff --git a/corsika/detail/output/OutputManager.inl b/corsika/detail/output/OutputManager.inl index 15b361507126a1da8d7989b0e23180d867f2de76..3badfd1db18638dc911eb2e41078f12329868f44 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;