Skip to content

Commit

Permalink
Don't use filesystem::path because it doesn't work on gcc8
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed May 8, 2024
1 parent f783420 commit 25fdb53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cpp/src/EXAMPLE/dumpmctree-dot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
#include <fstream>
#include <iomanip>
#include <algorithm>
#include <filesystem>
#include <string>
#include <stdexcept>

using namespace EVENT;
using namespace IO;
Expand Down Expand Up @@ -775,7 +773,7 @@ int main(int argc, char** argv ){
return 1;
}

std::filesystem::path filename{argv[optind++]};
std::string filename{argv[optind++]};
int eventNumber{};
try {
eventNumber = std::stoi(argv[optind]);
Expand Down

0 comments on commit 25fdb53

Please sign in to comment.