mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-16 22:35:51 +08:00
Do not use = 0 for a cv::Mat.
There are several operator= overloads and some compilers can be confused. This is a leftover from https://github.com/opencv/opencv_contrib/pull/2987
This commit is contained in:
@@ -266,7 +266,7 @@ public:
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
hash = 0;
|
hash.setTo(cv::Scalar::all(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user