Skip to content
Snippets Groups Projects
Commit 1f4abff1 authored by Karsten Rink's avatar Karsten Rink
Browse files

added const qualifier

parent 487d2b27
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ bool Element::hasNeighbor(Element* elem) const ...@@ -166,7 +166,7 @@ bool Element::hasNeighbor(Element* elem) const
bool Element::isBoundaryElement() const bool Element::isBoundaryElement() const
{ {
return std::any_of(_neighbors, _neighbors + this->getNNeighbors(), return std::any_of(_neighbors, _neighbors + this->getNNeighbors(),
[](MeshLib::Element* e){ return e == nullptr; }); [](MeshLib::Element const*const e){ return e == nullptr; });
} }
} }
......
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