diff --git a/opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp b/opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp index 6025754fa..cabdc1420 100644 --- a/opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp +++ b/opm/parser/eclipse/EclipseState/Grid/GridProperty.hpp @@ -21,6 +21,7 @@ #include #include +#include #include /* @@ -85,6 +86,11 @@ class GridPropertySupportedKeywordInfo { const post& postProcessor() const; bool isDefaultInitializable() const; + void setPostProcessor(post processor) + { + this->m_postProcessor = std::move(processor); + } + private: std::string m_keywordName;