Hopefuly the last MSVC fix

This commit is contained in:
Erik Hofman 2016-12-08 09:39:45 +01:00
parent 343ce57468
commit 56fb81dc03

View File

@ -94,8 +94,8 @@ public:
}
template<int M>
simd4_t(const simd4_t<T,M>& v) {
if (M<4) std::memset(_v4+M, 0, sizeof(T[4-M]));
std::memcpy(vec, v.ptr(), sizeof(T[M]));
for (int i=N; i<4; i++) _v4[i] = 0;
}
~simd4_t(void) {}