diff --git a/src/opm/output/eclipse/report/WELSPECS.cpp b/src/opm/output/eclipse/report/WELSPECS.cpp index 58852c222..f86c6aedb 100644 --- a/src/opm/output/eclipse/report/WELSPECS.cpp +++ b/src/opm/output/eclipse/report/WELSPECS.cpp @@ -24,6 +24,7 @@ #include #include +#include namespace { @@ -80,7 +81,7 @@ namespace { return s; } - template + template struct column { using fetch_function = std::function; using format_function = std::function; @@ -109,9 +110,9 @@ namespace { } }; - template - struct table: std::vector> { - using std::vector>::vector; + template + struct table: std::vector> { + using std::vector>::vector; std::size_t total_width() const { std::size_t r { 1 + this->size() } ; @@ -158,15 +159,15 @@ namespace { }; - template + template struct report { std::string title; std::string decor; - table column_definition; + table column_definition; const context ctx; - report(const std::string& _title, const table& _coldef, const context& _ctx) + report(const std::string& _title, const table& _coldef, const context& _ctx) : title { _title } , decor { underline(title) } , column_definition { _coldef }