Fixed Linux build

pull/13383/head
Andrey Kamaev 13 years ago
parent b74116e694
commit 89be84a396
  1. 6
      modules/core/include/opencv2/core/operations.hpp

@ -968,7 +968,7 @@ CV_EXPORTS int normL1_(const uchar* a, const uchar* b, int n);
CV_EXPORTS int normHamming(const uchar* a, const uchar* b, int n);
CV_EXPORTS int normHamming(const uchar* a, const uchar* b, int n, int cellSize);
template<> static inline float normL2Sqr(const float* a, const float* b, int n)
template<> inline float normL2Sqr(const float* a, const float* b, int n)
{
if( n >= 8 )
return normL2Sqr_(a, b, n);
@ -1000,7 +1000,7 @@ _AccTp normL1(const _Tp* a, const _Tp* b, int n)
return s;
}
template<> static inline float normL1(const float* a, const float* b, int n)
template<> inline float normL1(const float* a, const float* b, int n)
{
if( n >= 8 )
return normL1_(a, b, n);
@ -1013,7 +1013,7 @@ template<> static inline float normL1(const float* a, const float* b, int n)
return s;
}
template<> static inline int normL1(const uchar* a, const uchar* b, int n)
template<> inline int normL1(const uchar* a, const uchar* b, int n)
{
return normL1_(a, b, n);
}

Loading…
Cancel
Save