Skip to content

Commit f1fe873

Browse files
committed
Merge pull request opencv#9841 from alalek:naming_issue
2 parents 4ae30ec + b0c6bd0 commit f1fe873

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/core/src/matrix.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ int Mat::checkVector(int _elemChannels, int _depth, bool _requireContinuous) con
11511151
}
11521152

11531153
template <typename T> static inline
1154-
void scalarToRawData(const Scalar& s, T * const buf, const int cn, const int unroll_to)
1154+
void scalarToRawData_(const Scalar& s, T * const buf, const int cn, const int unroll_to)
11551155
{
11561156
int i = 0;
11571157
for(; i < cn; i++)
@@ -1169,25 +1169,25 @@ void scalarToRawData(const Scalar& s, void* _buf, int type, int unroll_to)
11691169
switch(depth)
11701170
{
11711171
case CV_8U:
1172-
scalarToRawData<uchar>(s, (uchar*)_buf, cn, unroll_to);
1172+
scalarToRawData_<uchar>(s, (uchar*)_buf, cn, unroll_to);
11731173
break;
11741174
case CV_8S:
1175-
scalarToRawData<schar>(s, (schar*)_buf, cn, unroll_to);
1175+
scalarToRawData_<schar>(s, (schar*)_buf, cn, unroll_to);
11761176
break;
11771177
case CV_16U:
1178-
scalarToRawData<ushort>(s, (ushort*)_buf, cn, unroll_to);
1178+
scalarToRawData_<ushort>(s, (ushort*)_buf, cn, unroll_to);
11791179
break;
11801180
case CV_16S:
1181-
scalarToRawData<short>(s, (short*)_buf, cn, unroll_to);
1181+
scalarToRawData_<short>(s, (short*)_buf, cn, unroll_to);
11821182
break;
11831183
case CV_32S:
1184-
scalarToRawData<int>(s, (int*)_buf, cn, unroll_to);
1184+
scalarToRawData_<int>(s, (int*)_buf, cn, unroll_to);
11851185
break;
11861186
case CV_32F:
1187-
scalarToRawData<float>(s, (float*)_buf, cn, unroll_to);
1187+
scalarToRawData_<float>(s, (float*)_buf, cn, unroll_to);
11881188
break;
11891189
case CV_64F:
1190-
scalarToRawData<double>(s, (double*)_buf, cn, unroll_to);
1190+
scalarToRawData_<double>(s, (double*)_buf, cn, unroll_to);
11911191
break;
11921192
default:
11931193
CV_Error(CV_StsUnsupportedFormat,"");

0 commit comments

Comments
 (0)