mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
fix c++17 namsespace issues
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user