imgproc: fix compiler error for gcc 4.8

this bug was introduced in a73809e6.
pull/2944/head
Beat Küng 11 years ago
parent 964b260937
commit 90dce84314
  1. 2
      modules/imgproc/src/morph.cpp

@ -1257,7 +1257,7 @@ static bool IPPMorphReplicate(int op, const Mat &src, Mat &dst, const Mat &kerne
}
#undef IPP_MORPH_CASE
#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 8
#if defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 8
return false; /// It disables false positive warning in GCC 4.8 and further
#endif
}

Loading…
Cancel
Save