From 6b7470f683cbc9e0541ec6c2e01e0ce3cdb5c3eb Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Tue, 24 Jul 2012 18:25:46 +0400 Subject: [PATCH] fixed gcc compilation --- modules/core/src/copy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/src/copy.cpp b/modules/core/src/copy.cpp index 6c33db54a1..84bc224764 100644 --- a/modules/core/src/copy.cpp +++ b/modules/core/src/copy.cpp @@ -78,7 +78,7 @@ copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, ucha } } -template<> static void +template<> void copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) { for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) @@ -108,7 +108,7 @@ copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mste } } -template<> static void +template<> void copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) { for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep ) @@ -627,4 +627,4 @@ cvRepeat( const CvArr* srcarr, CvArr* dstarr ) cv::repeat(src, dst.rows/src.rows, dst.cols/src.cols, dst); } -/* End of file. */ \ No newline at end of file +/* End of file. */