Fixed build
authorAndrey Kamaev <no@email>
Thu, 22 Mar 2012 08:22:23 +0000 (08:22 +0000)
committerAndrey Kamaev <no@email>
Thu, 22 Mar 2012 08:22:23 +0000 (08:22 +0000)
modules/videostab/src/precomp.hpp

index eb322d1..bdf1e49 100644 (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)];
 }