From b0c6bd0a5b02e738270857c238d786973adad1ea Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 12 Oct 2017 13:28:30 +0300 Subject: [PATCH] build: resolve naming issue --- modules/core/src/matrix.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/core/src/matrix.cpp b/modules/core/src/matrix.cpp index 094b1960b2..0208a71894 100644 --- a/modules/core/src/matrix.cpp +++ b/modules/core/src/matrix.cpp @@ -1151,7 +1151,7 @@ int Mat::checkVector(int _elemChannels, int _depth, bool _requireContinuous) con } template static inline -void scalarToRawData(const Scalar& s, T * const buf, const int cn, const int unroll_to) +void scalarToRawData_(const Scalar& s, T * const buf, const int cn, const int unroll_to) { int i = 0; for(; i < cn; i++) @@ -1169,25 +1169,25 @@ void scalarToRawData(const Scalar& s, void* _buf, int type, int unroll_to) switch(depth) { case CV_8U: - scalarToRawData(s, (uchar*)_buf, cn, unroll_to); + scalarToRawData_(s, (uchar*)_buf, cn, unroll_to); break; case CV_8S: - scalarToRawData(s, (schar*)_buf, cn, unroll_to); + scalarToRawData_(s, (schar*)_buf, cn, unroll_to); break; case CV_16U: - scalarToRawData(s, (ushort*)_buf, cn, unroll_to); + scalarToRawData_(s, (ushort*)_buf, cn, unroll_to); break; case CV_16S: - scalarToRawData(s, (short*)_buf, cn, unroll_to); + scalarToRawData_(s, (short*)_buf, cn, unroll_to); break; case CV_32S: - scalarToRawData(s, (int*)_buf, cn, unroll_to); + scalarToRawData_(s, (int*)_buf, cn, unroll_to); break; case CV_32F: - scalarToRawData(s, (float*)_buf, cn, unroll_to); + scalarToRawData_(s, (float*)_buf, cn, unroll_to); break; case CV_64F: - scalarToRawData(s, (double*)_buf, cn, unroll_to); + scalarToRawData_(s, (double*)_buf, cn, unroll_to); break; default: CV_Error(CV_StsUnsupportedFormat,"");