Guard for Python and Paraview hid lack of semicolon

This commit is contained in:
josh bowden 2023-09-28 13:32:42 +02:00
parent 7f7f3b06b2
commit c589a5fa00

View File

@ -108,7 +108,7 @@ DamarisSettings::getKeywords(const Parallel::Communication& comm,
#else
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));
pythonFilename = std::string("")
pythonFilename.clear() ;
#endif
#ifdef HAVE_PARAVIEW_ENABLED
@ -126,7 +126,7 @@ DamarisSettings::getKeywords(const Parallel::Communication& comm,
#else
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));
paraviewPythonFilename = std::string("")
paraviewPythonFilename.clear() ;
#endif
// Flag error if both scripts are enabled