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
@@ -206,7 +206,7 @@ QRImpl(_Tp* A, size_t astep, int m, int n, int k, _Tp* b, size_t bstep, _Tp* hFa
|
||||
cv::AutoBuffer<_Tp> buffer;
|
||||
size_t buf_size = m ? m + n : hFactors != NULL;
|
||||
buffer.allocate(buf_size);
|
||||
_Tp* vl = buffer;
|
||||
_Tp* vl = buffer.data();
|
||||
if (hFactors == NULL)
|
||||
hFactors = vl + m;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user