modules/core: removed extra semi-colon from mat.inl.hpp and utility.hpp
authorRok Mandeljc <rok.mandeljc@gmail.com>
Mon, 29 Dec 2014 15:21:17 +0000 (16:21 +0100)
committerRok Mandeljc <rok.mandeljc@gmail.com>
Mon, 29 Dec 2014 15:23:43 +0000 (16:23 +0100)
This silences the pedantic warning messages from gcc 4.8.3

modules/core/include/opencv2/core/mat.inl.hpp
modules/core/include/opencv2/core/utility.hpp

index 9ca8511..73a39e7 100644 (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
index 43dc805..88989ef 100644 (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 ///////////////////////////////