Skip to content
Snippets Groups Projects
Unverified Commit b6b628a3 authored by René Fritze's avatar René Fritze
Browse files

[math/absvalue] allow proper ADL

parent f6789b42
No related branches found
No related tags found
No related merge requests found
...@@ -87,7 +87,8 @@ struct AbsoluteValue ...@@ -87,7 +87,8 @@ struct AbsoluteValue
{ {
static T result(const T& val) static T result(const T& val)
{ {
return std::abs(val); using std::abs;
return abs(val);
} }
}; };
template <class T> template <class T>
......
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