simgear/math/simd4x4.hxx: avoid -Wdeprecated-copy warnings.
Added simd4x4_t::operator=().
This commit is contained in:
parent
0f78bcaa49
commit
46e79aba11
@ -181,6 +181,11 @@ public:
|
|||||||
}
|
}
|
||||||
~simd4x4_t(void) {}
|
~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] {
|
inline T (&m4x4(void))[4][4] {
|
||||||
return _m4x4;
|
return _m4x4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user