mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
opencv: Use cv::AutoBuffer<>::data()
This commit is contained in:
committed by
Alexander Alekhin
parent
135ea264ef
commit
b09a4a98d4
@@ -179,7 +179,7 @@ struct BatchDistInvoker : public ParallelLoopBody
|
||||
void operator()(const Range& range) const CV_OVERRIDE
|
||||
{
|
||||
AutoBuffer<int> buf(src2->rows);
|
||||
int* bufptr = buf;
|
||||
int* bufptr = buf.data();
|
||||
|
||||
for( int i = range.start; i < range.end; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user