mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Guard for Python and Paraview hid lack of semicolon
This commit is contained in:
@@ -108,7 +108,7 @@ DamarisSettings::getKeywords(const Parallel::Communication& comm,
|
|||||||
#else
|
#else
|
||||||
OpmLog::info(fmt::format("INFO: Opm::DamarisOutput::DamarisKeywords() : Python is not enabled in the Damaris library. "
|
OpmLog::info(fmt::format("INFO: Opm::DamarisOutput::DamarisKeywords() : Python is not enabled in the Damaris library. "
|
||||||
"The commandline --damaris-python-script={} will be set to empty string", pythonFilename));
|
"The commandline --damaris-python-script={} will be set to empty string", pythonFilename));
|
||||||
pythonFilename = std::string("")
|
pythonFilename.clear() ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_PARAVIEW_ENABLED
|
#ifdef HAVE_PARAVIEW_ENABLED
|
||||||
@@ -126,7 +126,7 @@ DamarisSettings::getKeywords(const Parallel::Communication& comm,
|
|||||||
#else
|
#else
|
||||||
OpmLog::info(fmt::format("INFO: Opm::DamarisOutput::DamarisKeywords() : Paraview is not enabled in the Damaris library. "
|
OpmLog::info(fmt::format("INFO: Opm::DamarisOutput::DamarisKeywords() : Paraview is not enabled in the Damaris library. "
|
||||||
"The commandline --damaris-python-paraview-script={} will be set to empty string", paraviewPythonFilename));
|
"The commandline --damaris-python-paraview-script={} will be set to empty string", paraviewPythonFilename));
|
||||||
paraviewPythonFilename = std::string("")
|
paraviewPythonFilename.clear() ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Flag error if both scripts are enabled
|
// Flag error if both scripts are enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user