Commit 4f317599 authored by Sergiu Deitsch's avatar Sergiu Deitsch

prevent copying in cv::Mat_<T> move assignment

parent 7dd3723a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment