Merge pull request #3556 from rokm:semicolon-warnings

This commit is contained in:
Vadim Pisarevsky 2014-12-31 06:08:11 +00:00
commit 2b30759af0
2 changed files with 3 additions and 3 deletions

View File

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

View File

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