Browse Source

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
pull/3068/head
Vincent Rabaud 4 years ago
parent
commit
496ea61c8d
  1. 2
      modules/img_hash/src/radial_variance_hash.cpp

2
modules/img_hash/src/radial_variance_hash.cpp

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

Loading…
Cancel
Save