diff --git a/opm/material/fluidmatrixinteractions/EclEpsGridProperties.hpp b/opm/material/fluidmatrixinteractions/EclEpsGridProperties.hpp index e6e87fbfc..c1dd5109b 100644 --- a/opm/material/fluidmatrixinteractions/EclEpsGridProperties.hpp +++ b/opm/material/fluidmatrixinteractions/EclEpsGridProperties.hpp @@ -52,6 +52,7 @@ namespace Opm { * keywords. */ +#if HAVE_ECL_INPUT namespace { std::vector try_get(const FieldPropsManager& fp, const std::string& keyword) { @@ -62,8 +63,7 @@ std::vector try_get(const FieldPropsManager& fp, const std::string& keyw } } - - +#endif class EclEpsGridProperties {