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

Merge branch 'fix/mpfa-warning' into 'master'

[mpfa] Remove unnecessary const qualifier

See merge request !1088
parents 3f72c7cc e86e620b
No related branches found
No related tags found
1 merge request!1088[mpfa] Remove unnecessary const qualifier
...@@ -496,8 +496,8 @@ private: ...@@ -496,8 +496,8 @@ private:
} }
//! map a global index to the local storage index //! map a global index to the local storage index
const unsigned int findLocalIndex(const GridIndexType idx, unsigned int findLocalIndex(const GridIndexType idx,
const std::vector<GridIndexType>& indices) const const std::vector<GridIndexType>& indices) const
{ {
auto it = std::find(indices.begin(), indices.end(), idx); auto it = std::find(indices.begin(), indices.end(), idx);
assert(it != indices.end() && "Could not find the scv/scvf! Make sure to properly bind this class!"); assert(it != indices.end() && "Could not find the scv/scvf! Make sure to properly bind this class!");
......
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