mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 20:09:23 +08:00
compilation errors
This commit is contained in:
parent
4ea811c568
commit
7f56e5b2dd
@ -105,7 +105,7 @@ namespace cv
|
||||
{
|
||||
this->step /= PtrStep_<T>::elem_size;
|
||||
}
|
||||
__CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step); }
|
||||
__CV_GPU_HOST_DEVICE__ T* ptr(int y = 0) { return data + y * step; }
|
||||
__CV_GPU_HOST_DEVICE__ const T* ptr(int y = 0) const { return data + y * step; }
|
||||
private:
|
||||
StaticCheck<256 % sizeof(T) == 0> ElemStepTypeCheck;
|
||||
|
Loading…
Reference in New Issue
Block a user