diff --git a/opm/core/io/eclipse/EclipseWriter.cpp b/opm/core/io/eclipse/EclipseWriter.cpp index ccf8d23a..04c2dcc8 100644 --- a/opm/core/io/eclipse/EclipseWriter.cpp +++ b/opm/core/io/eclipse/EclipseWriter.cpp @@ -52,7 +52,6 @@ using namespace Opm; using namespace Opm::parameter; -#ifdef HAVE_ERT #include #include #include @@ -1122,38 +1121,6 @@ void EclipseWriter::writeTimeStep(const SimulatorTimer& timer, ++outputTimeStepIdx_; } -#else -namespace Opm { - -void EclipseWriter::writeInit(const SimulatorTimer&) - { - // if we don't want to write anything, this method becomes a - // no-op... - if (!enableOutput_) { - return; - } - - OPM_THROW(std::runtime_error, - "The ERT libraries are required to write ECLIPSE output files."); -} - -void EclipseWriter::writeTimeStep( - const SimulatorTimer&, - const SimulatorState&, - const WellState&) -{ - // if we don't want to write anything, this method becomes a - // no-op... - if (!enableOutput_) { - return; - } - - OPM_THROW(std::runtime_error, - "The ERT libraries are required to write ECLIPSE output files."); -} - -#endif // HAVE_ERT - EclipseWriter::EclipseWriter ( const ParameterGroup& params, Opm::DeckConstPtr deck,