Minor change to avoid compiler error in clang

This commit is contained in:
Davis King 2013-11-11 00:30:25 -05:00
parent 8ea4fc3fba
commit 39eef90b35

View File

@ -23,6 +23,12 @@ namespace dlib
simd4f(const __m128& val):x(val) {} simd4f(const __m128& val):x(val) {}
simd4f(const simd4i& val):x(_mm_cvtepi32_ps(val)) {} simd4f(const simd4i& val):x(_mm_cvtepi32_ps(val)) {}
inline simd4f& operator=(const simd4i& val)
{
x = simd4f(val);
return *this;
}
simd4f& operator=(const __m128& val) simd4f& operator=(const __m128& val)
{ {
x = val; x = val;