Commit 74490399 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #6268 from robbertkl:patch-1

parents 97d8ca34 dd510e1d
...@@ -363,7 +363,7 @@ CV_EXPORTS void parallel_for_(const Range& range, const ParallelLoopBody& body, ...@@ -363,7 +363,7 @@ CV_EXPORTS void parallel_for_(const Range& range, const ParallelLoopBody& body,
template<typename _Tp, typename Functor> inline template<typename _Tp, typename Functor> inline
void Mat::forEach_impl(const Functor& operation) { void Mat::forEach_impl(const Functor& operation) {
if (false) { if (false) {
operation(*reinterpret_cast<_Tp*>(0), reinterpret_cast<int*>(NULL)); operation(*reinterpret_cast<_Tp*>(0), reinterpret_cast<int*>(0));
// If your compiler fail in this line. // If your compiler fail in this line.
// Please check that your functor signature is // Please check that your functor signature is
// (_Tp&, const int*) <- multidimential // (_Tp&, const int*) <- multidimential
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment