IAP GITLAB

Skip to content
Snippets Groups Projects
Commit afac3fd7 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Ralf Ulrich
Browse files

boost::filesystem::ifstream

parent 4815e08d
No related branches found
No related tags found
No related merge requests found
...@@ -397,7 +397,7 @@ namespace corsika::urqmd { ...@@ -397,7 +397,7 @@ namespace corsika::urqmd {
} }
inline void UrQMD::readXSFile(boost::filesystem::path const& filename) { inline void UrQMD::readXSFile(boost::filesystem::path const& filename) {
std::ifstream file(filename, std::ios::in); boost::filesystem::ifstream file(filename, std::ios::in);
if (!file.is_open()) { if (!file.is_open()) {
throw std::runtime_error(filename.native() + " could not be opened."); throw std::runtime_error(filename.native() + " could not be opened.");
......
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