prevent copying in cv::Mat_<T> move assignment
This commit is contained in:
parent
7dd3723abe
commit
4f31759965
@ -1818,7 +1818,7 @@ Mat_<_Tp>::Mat_(Mat_&& m)
|
||||
template<typename _Tp> inline
|
||||
Mat_<_Tp>& Mat_<_Tp>::operator = (Mat_&& m)
|
||||
{
|
||||
Mat::operator = (m);
|
||||
Mat::operator = (std::move(m));
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user