diff --git a/simgear/math/simd4x4.hxx b/simgear/math/simd4x4.hxx index 00c5dd90..f3d056b6 100644 --- a/simgear/math/simd4x4.hxx +++ b/simgear/math/simd4x4.hxx @@ -181,6 +181,11 @@ public: } ~simd4x4_t(void) {} + simd4x4_t& operator=(const simd4x4_t& rhs) { + std::memcpy(array, rhs.array, sizeof(array)); + return *this; + } + inline T (&m4x4(void))[4][4] { return _m4x4; }