From: Rok Mandeljc Date: Mon, 29 Dec 2014 15:21:17 +0000 (+0100) Subject: modules/core: removed extra semi-colon from mat.inl.hpp and utility.hpp X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~2761^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3b32cce80c52f91b7cdbbefd78214cfd12006cb;p=platform%2Fupstream%2Fopencv.git modules/core: removed extra semi-colon from mat.inl.hpp and utility.hpp This silences the pedantic warning messages from gcc 4.8.3 --- diff --git a/modules/core/include/opencv2/core/mat.inl.hpp b/modules/core/include/opencv2/core/mat.inl.hpp index 9ca8511..73a39e7 100644 --- a/modules/core/include/opencv2/core/mat.inl.hpp +++ b/modules/core/include/opencv2/core/mat.inl.hpp @@ -1005,13 +1005,13 @@ MatIterator_<_Tp> Mat::end() template inline void Mat::forEach(const Functor& operation) { this->forEach_impl<_Tp>(operation); -}; +} template inline void Mat::forEach(const Functor& operation) const { // call as not const (const_cast(this))->forEach(operation); -}; +} template inline Mat::operator std::vector<_Tp>() const diff --git a/modules/core/include/opencv2/core/utility.hpp b/modules/core/include/opencv2/core/utility.hpp index 43dc805..88989ef 100644 --- a/modules/core/include/opencv2/core/utility.hpp +++ b/modules/core/include/opencv2/core/utility.hpp @@ -465,7 +465,7 @@ void Mat::forEach_impl(const Functor& operation) { }; parallel_for_(cv::Range(0, LINES), PixelOperationWrapper(reinterpret_cast*>(this), operation)); -}; +} /////////////////////////// Synchronization Primitives ///////////////////////////////