Skip to content
Snippets Groups Projects
Commit 969fbc9a authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'cleanup/rans-warning' into 'master'

[kepsilon] Fix compiler warning complaining about const having no effect

See merge request !2089
parents 68aeef91 498c27f4
No related branches found
No related tags found
1 merge request!2089[kepsilon] Fix compiler warning complaining about const having no effect
...@@ -199,7 +199,7 @@ public: ...@@ -199,7 +199,7 @@ public:
/*! /*!
* \brief Returns if an element is located in the near-wall region * \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 wallElementIdx = asImp_().wallElementIdx_[elementIdx];
unsigned int matchingPointIdx = matchingPointIdx_[wallElementIdx]; unsigned int matchingPointIdx = matchingPointIdx_[wallElementIdx];
...@@ -210,7 +210,7 @@ public: ...@@ -210,7 +210,7 @@ public:
/*! /*!
* \brief Returns if an element is the matching point * \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; } { return matchingPointIdx_[asImp_().wallElementIdx_[elementIdx]] == elementIdx; }
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment