Commit 97642f58 authored by Timo Koch's avatar Timo Koch Committed by Ned Coltman
Browse files

[io] Be explicit about return type (fixes appleclang compiler error)

parent 82337912
......@@ -63,7 +63,7 @@ public:
iIt_ = IntersectionIterator(gridView_.ibegin(*eIt_));
}
decltype(auto) dereference() const
const Intersection& dereference() const
{
if constexpr (std::is_lvalue_reference_v<decltype(*std::declval<IntersectionIterator>())>)
return *iIt_;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment