From d4a0d2962f3b03a0d03ba11cb4a3e3bb5ce7279d Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving <arne.morten.kvarving@sintef.no> Date: Fri, 30 Apr 2021 10:47:22 +0200 Subject: [PATCH] ParallelWellInfo: use forwarding --- opm/simulators/wells/ParallelWellInfo.cpp | 2 ++ opm/simulators/wells/ParallelWellInfo.hpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/opm/simulators/wells/ParallelWellInfo.cpp b/opm/simulators/wells/ParallelWellInfo.cpp index 224b7a77b..0f08924a0 100644 --- a/opm/simulators/wells/ParallelWellInfo.cpp +++ b/opm/simulators/wells/ParallelWellInfo.cpp @@ -18,7 +18,9 @@ */ #include <config.h> #include <opm/simulators/wells/ParallelWellInfo.hpp> + #include <opm/common/ErrorMacros.hpp> +#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp> namespace Dune { diff --git a/opm/simulators/wells/ParallelWellInfo.hpp b/opm/simulators/wells/ParallelWellInfo.hpp index bb09b5f38..6ffc7dd56 100644 --- a/opm/simulators/wells/ParallelWellInfo.hpp +++ b/opm/simulators/wells/ParallelWellInfo.hpp @@ -25,7 +25,6 @@ #include <dune/istl/owneroverlapcopy.hh> #include <opm/common/ErrorMacros.hpp> -#include <opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp> #include <memory> #include <iterator> @@ -34,6 +33,8 @@ namespace Opm { +class Well; + /// \brief Class to facilitate getting values associated with the above/below perforation /// class CommunicateAboveBelow