diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index d741d7cbe..74863b94c 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -331,7 +331,7 @@ namespace Opm std::cerr << "Exception received: " << e.what() << ". Try '--help' for a usage description.\n"; #else Opm::Parameters::printUsage(PreProblem::helpPreamble( - argc, const_cast(argv)), e.what()); + argc_, const_cast(argv_)), e.what()); #endif #if HAVE_MPI MPI_Finalize();