From 684f101ba557c38b5f99d17df49c04f148ff8468 Mon Sep 17 00:00:00 2001
From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Tue, 5 Mar 2019 09:47:16 +0100
Subject: [PATCH] [fluxoversurface] Remove unused lambda capture

* suppress compiler warning
---
 .../navierstokes/staggered/fluxoversurface.hh        | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dumux/freeflow/navierstokes/staggered/fluxoversurface.hh b/dumux/freeflow/navierstokes/staggered/fluxoversurface.hh
index c26b6cb634..339ace3095 100644
--- a/dumux/freeflow/navierstokes/staggered/fluxoversurface.hh
+++ b/dumux/freeflow/navierstokes/staggered/fluxoversurface.hh
@@ -242,12 +242,12 @@ public:
      */
     void calculateVolumeFluxes()
     {
-        auto fluxType = [this](const auto& element,
-                               const auto& fvGeometry,
-                               const auto& elemVolVars,
-                               const auto& elemFaceVars,
-                               const auto& scvf,
-                               const auto& elemFluxVarsCache)
+        auto fluxType = [](const auto& element,
+                           const auto& fvGeometry,
+                           const auto& elemVolVars,
+                           const auto& elemFaceVars,
+                           const auto& scvf,
+                           const auto& elemFluxVarsCache)
         {
             CellCenterPrimaryVariables result(0.0);
             const auto& insideVolVars = elemVolVars[scvf.insideScvIdx()];
-- 
GitLab