IAP GITLAB

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

boost ofstream

parent 0741ab27
No related branches found
No related tags found
1 merge request!317Output infrastructure and Python analysis library.
Pipeline #4058 passed
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#include <ctime> #include <ctime>
#include <sstream> #include <sstream>
#include <boost/filesystem.hpp>
#include <fmt/core.h> #include <fmt/core.h>
#include <fmt/chrono.h> #include <fmt/chrono.h>
...@@ -30,7 +32,7 @@ namespace corsika { ...@@ -30,7 +32,7 @@ namespace corsika {
out << node; out << node;
// open the output file - this is <output name>.yaml // open the output file - this is <output name>.yaml
std::ofstream file(path.string()); boost::filesystem::ofstream file(path);
// dump the YAML to the file // dump the YAML to the file
file << out.c_str() << std::endl; file << out.c_str() << std::endl;
......
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