提交 4f317599 编写于 作者: S Sergiu Deitsch

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册