Skip to content
Snippets Groups Projects
Commit 9d335436 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[test][subgridmanager] Use template argument instead of auto in operator()

* fixes clang compiler error
parent 15c4734c
No related branches found
No related tags found
1 merge request!1188Fix clang compiler errors
......@@ -42,7 +42,8 @@ public:
CircleSelector(const GlobalPosition& center) : center_(center) {}
//! Select all elements within a circle around a center point.
int operator() (const auto& element) const
template<class Element>
int operator() (const Element& element) const
{
const auto x = element.geometry().center()[0];
const auto y = element.geometry().center()[1];
......
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