Skip to content
Snippets Groups Projects
Verified Commit 7dcd53e8 authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

enable ADL for `min` and `max`

parent 7c76f2a7
Branches
Tags
1 merge request!685stop using `std::binary_function`
......@@ -22,7 +22,8 @@ namespace Dune
Type operator()(const Type& t1, const Type& t2) const
{
return std::min(t1,t2);
using std::min;
return min(t1,t2);
}
};
......@@ -37,7 +38,8 @@ namespace Dune
Type operator()(const Type& t1, const Type& t2) const
{
return std::max(t1,t2);
using std::max;
return max(t1,t2);
}
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment