mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Minor change to avoid compiler error in clang
This commit is contained in:
parent
8ea4fc3fba
commit
39eef90b35
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user