datastart must be non-const in CUDA.

This commit is contained in:
Adil Ibragimov
2014-08-13 11:11:33 +04:00
parent 28f3a44e33
commit dfd0b297ce
4 changed files with 6 additions and 6 deletions

View File

@@ -160,7 +160,7 @@ void cv::cuda::GpuMat::release()
if (refcount && CV_XADD(refcount, -1) == 1)
allocator->free(this);
data = datastart = dataend = 0;
dataend = data = datastart = 0;
step = rows = cols = 0;
refcount = 0;
}