modules/core: removed extra semi-colon from mat.inl.hpp and utility.hpp

This silences the pedantic warning messages from gcc 4.8.3
pull/3556/head
Rok Mandeljc 10 years ago
parent 61991a3330
commit e3b32cce80
  1. 4
      modules/core/include/opencv2/core/mat.inl.hpp
  2. 2
      modules/core/include/opencv2/core/utility.hpp

@ -1005,13 +1005,13 @@ MatIterator_<_Tp> Mat::end()
template<typename _Tp, typename Functor> inline template<typename _Tp, typename Functor> inline
void Mat::forEach(const Functor& operation) { void Mat::forEach(const Functor& operation) {
this->forEach_impl<_Tp>(operation); this->forEach_impl<_Tp>(operation);
}; }
template<typename _Tp, typename Functor> inline template<typename _Tp, typename Functor> inline
void Mat::forEach(const Functor& operation) const { void Mat::forEach(const Functor& operation) const {
// call as not const // call as not const
(const_cast<Mat*>(this))->forEach<const _Tp>(operation); (const_cast<Mat*>(this))->forEach<const _Tp>(operation);
}; }
template<typename _Tp> inline template<typename _Tp> inline
Mat::operator std::vector<_Tp>() const Mat::operator std::vector<_Tp>() const

@ -465,7 +465,7 @@ void Mat::forEach_impl(const Functor& operation) {
}; };
parallel_for_(cv::Range(0, LINES), PixelOperationWrapper(reinterpret_cast<Mat_<_Tp>*>(this), operation)); parallel_for_(cv::Range(0, LINES), PixelOperationWrapper(reinterpret_cast<Mat_<_Tp>*>(this), operation));
}; }
/////////////////////////// Synchronization Primitives /////////////////////////////// /////////////////////////// Synchronization Primitives ///////////////////////////////

Loading…
Cancel
Save