diff --git a/opm/simulators/flow/FlowUtils.cpp b/opm/simulators/flow/FlowUtils.cpp index 829f3c00927..b38ef09ec65 100644 --- a/opm/simulators/flow/FlowUtils.cpp +++ b/opm/simulators/flow/FlowUtils.cpp @@ -262,6 +262,12 @@ void hideUnusedParameters() Parameters::Hide(); } +namespace { + bool isEmptyString(const std::string& str) { + return str.size()==0 || str=="\"\"" || str=="''"; + } +} + int eclPositionalParameter(std::function addKey, std::set& seenParams, std::string& errorMsg, @@ -283,6 +289,9 @@ int eclPositionalParameter(std::function 0) { errorMsg = "Parameter 'EclDeckFileName' specified multiple times"