From f4a882f471721219884d683976620b028e901777 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Sat, 20 Apr 2024 13:27:23 +0200
Subject: [PATCH] [facet][cc][localres] do not bring in parent overloads

---
 dumux/multidomain/facet/cellcentered/localresidual.hh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dumux/multidomain/facet/cellcentered/localresidual.hh b/dumux/multidomain/facet/cellcentered/localresidual.hh
index 33c82a9c04..0aef82ff36 100644
--- a/dumux/multidomain/facet/cellcentered/localresidual.hh
+++ b/dumux/multidomain/facet/cellcentered/localresidual.hh
@@ -15,6 +15,8 @@
 #ifndef DUMUX_FACETCOUPLING_CC_LOCAL_RESIDUAL_HH
 #define DUMUX_FACETCOUPLING_CC_LOCAL_RESIDUAL_HH
 
+#include <utility>
+
 #include <dumux/common/properties.hh>
 #include <dumux/common/numeqvector.hh>
 #include <dumux/assembly/cclocalresidual.hh>
@@ -50,8 +52,12 @@ public:
     //! export the type used for element residuals
     using ElementResidualVector = typename ParentType::ElementResidualVector;
 
+    //! evaluate the flux residual for a sub control volume face and add to residual
+    template<class... Args>
+    void evalFlux(ElementResidualVector& residual, Args&&... args) const
+    { ParentType::evalFlux(residual, std::forward<Args>(args)...); }
+
     //! evaluate the flux residual for a sub control volume face
-    using ParentType::evalFlux;
     template< class Problem >
     NumEqVector evalFlux(const Problem& problem,
                          const Element& element,
-- 
GitLab