compilation errors
authorAnatoly Baksheev <no@email>
Mon, 1 Nov 2010 12:49:45 +0000 (12:49 +0000)
committerAnatoly Baksheev <no@email>
Mon, 1 Nov 2010 12:49:45 +0000 (12:49 +0000)
modules/gpu/include/opencv2/gpu/devmem2d.hpp

index 93394bc..eb89794 100644 (file)
@@ -105,7 +105,7 @@ namespace cv
             {\r
                 this->step /= PtrStep_<T>::elem_size;             \r
             }\r
-            __CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step); }\r
+            __CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step; }\r
             __CV_GPU_HOST_DEVICE__ const T* ptr(int y = 0) const { return data + y * step; }\r
         private:            \r
             StaticCheck<256 % sizeof(T) == 0>  ElemStepTypeCheck;\r