From 498c27f47574e29e4f2dedf1a3e3bf405cf0bf95 Mon Sep 17 00:00:00 2001
From: Kilian <kilian.weishaupt@iws.uni-stuttgart.de>
Date: Wed, 29 Apr 2020 16:15:30 +0200
Subject: [PATCH] [kepsilon] Fix compiler warning complaining about const
 having no effect

---
 dumux/freeflow/rans/twoeq/kepsilon/problem.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dumux/freeflow/rans/twoeq/kepsilon/problem.hh b/dumux/freeflow/rans/twoeq/kepsilon/problem.hh
index 6fa1d93e46..1efb32c5b4 100644
--- a/dumux/freeflow/rans/twoeq/kepsilon/problem.hh
+++ b/dumux/freeflow/rans/twoeq/kepsilon/problem.hh
@@ -199,7 +199,7 @@ public:
     /*!
      * \brief Returns if an element is located in the near-wall region
      */
-    const bool inNearWallRegion(unsigned int elementIdx) const
+    bool inNearWallRegion(unsigned int elementIdx) const
     {
         unsigned int wallElementIdx = asImp_().wallElementIdx_[elementIdx];
         unsigned int matchingPointIdx = matchingPointIdx_[wallElementIdx];
@@ -210,7 +210,7 @@ public:
     /*!
      * \brief Returns if an element is the matching point
      */
-    const bool isMatchingPoint(unsigned int elementIdx) const
+    bool isMatchingPoint(unsigned int elementIdx) const
     { return matchingPointIdx_[asImp_().wallElementIdx_[elementIdx]] == elementIdx; }
 
     /*!
-- 
GitLab