1
0
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:
Vincent Rabaud
2021-10-12 16:26:26 +02:00
parent 3ef73fc2e6
commit 496ea61c8d

View File

@@ -266,7 +266,7 @@ public:
}
else
{
hash = 0;
hash.setTo(cv::Scalar::all(0));
}
}