mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-14 18:58:22 +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
|
||||
{
|
||||
hash = 0;
|
||||
hash.setTo(cv::Scalar::all(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user