Commit 6b7470f6 authored by Maria Dimashova's avatar Maria Dimashova

fixed gcc compilation

parent 39554ead
...@@ -78,7 +78,7 @@ copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, ucha ...@@ -78,7 +78,7 @@ copyMask_(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, ucha
} }
} }
template<> static void template<> void
copyMask_<uchar>(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) copyMask_<uchar>(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 ) for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep )
...@@ -108,7 +108,7 @@ copyMask_<uchar>(const uchar* _src, size_t sstep, const uchar* mask, size_t mste ...@@ -108,7 +108,7 @@ copyMask_<uchar>(const uchar* _src, size_t sstep, const uchar* mask, size_t mste
} }
} }
template<> static void template<> void
copyMask_<ushort>(const uchar* _src, size_t sstep, const uchar* mask, size_t mstep, uchar* _dst, size_t dstep, Size size) copyMask_<ushort>(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 ) for( ; size.height--; mask += mstep, _src += sstep, _dst += dstep )
...@@ -627,4 +627,4 @@ cvRepeat( const CvArr* srcarr, CvArr* dstarr ) ...@@ -627,4 +627,4 @@ cvRepeat( const CvArr* srcarr, CvArr* dstarr )
cv::repeat(src, dst.rows/src.rows, dst.cols/src.cols, dst); cv::repeat(src, dst.rows/src.rows, dst.cols/src.cols, dst);
} }
/* End of file. */ /* End of file. */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment