1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

fix c++17 namsespace issues

This commit is contained in:
berak
2017-10-11 09:50:22 +02:00
parent a9effeeb35
commit ada753a54c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ template <typename T> inline T clamp (T x, T a, T b)
template <typename T> inline T mapValue(T x, T a, T b, T c, T d)
{
x = clamp(x, a, b);
x = ::clamp(x, a, b);
return c + (d - c) * (x - a) / (b - a);
}