mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 22:16:27 +08:00
Merge pull request #8506 from sergiud:mat-move-assignment-dont-copy
This commit is contained in:
commit
bbdd8ba078
@ -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