1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Fixed build

This commit is contained in:
Andrey Kamaev
2012-03-22 08:22:23 +00:00
parent 984583981c
commit e64c08d5d9
+1 -1
View File
@@ -62,7 +62,7 @@ inline float intensity(const cv::Point3_<uchar> &bgr)
return 0.3f*bgr.x + 0.59f*bgr.y + 0.11f*bgr.z;
}
template <typename T> inline T& at(int index, const T *items, int size)
template <typename T> inline T& at(int index, T *items, int size)
{
return items[cv::borderInterpolate(index, size, cv::BORDER_WRAP)];
}