From e64c08d5d948f0820f7dc501d9631930b2d80707 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Thu, 22 Mar 2012 08:22:23 +0000 Subject: [PATCH] Fixed build --- modules/videostab/src/precomp.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videostab/src/precomp.hpp b/modules/videostab/src/precomp.hpp index eb322d128e..bdf1e495ff 100644 --- a/modules/videostab/src/precomp.hpp +++ b/modules/videostab/src/precomp.hpp @@ -62,7 +62,7 @@ inline float intensity(const cv::Point3_ &bgr) return 0.3f*bgr.x + 0.59f*bgr.y + 0.11f*bgr.z; } -template inline T& at(int index, const T *items, int size) +template inline T& at(int index, T *items, int size) { return items[cv::borderInterpolate(index, size, cv::BORDER_WRAP)]; }