simgear/math/simd4x4.hxx: avoid -Wdeprecated-copy warnings.

Added simd4x4_t::operator=().
This commit is contained in:
Julian Smith 2021-05-22 11:57:21 +01:00
parent 0f78bcaa49
commit 46e79aba11

View File

@ -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;
}