1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

cuda: fix build

use cv::AutoBuffer::data() to get data pointer
This commit is contained in:
Alexander Alekhin
2018-07-06 15:31:25 +03:00
parent 3b01777c98
commit fc59498b2b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ namespace
// compute sizes
AutoBuffer<int> buf(levels_ * 3);
int* cols_pyr = buf;
int* cols_pyr = buf.data();
int* rows_pyr = cols_pyr + levels_;
int* nr_plane_pyr = rows_pyr + levels_;