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

@@ -261,7 +261,7 @@ public:
int* refcount;
//! helper fields used in locateROI and adjustROI
const uchar* datastart;
uchar* datastart;
const uchar* dataend;
//! allocator
@@ -349,7 +349,7 @@ public:
uchar* data;
int* refcount;
const uchar* datastart;
uchar* datastart;
const uchar* dataend;
AllocType alloc_type;