diff options
| author | Rye <rye@lindenlab.com> | 2025-02-02 03:40:21 -0500 |
|---|---|---|
| committer | Rye <rye@lindenlab.com> | 2025-02-11 05:04:05 -0500 |
| commit | 39a13e4088db6e4023d196de07765363ddce2c4f (patch) | |
| tree | 612417d310bd8796424d34dc43a03ebdc9e39541 /indra/llmath/llvector4logical.h | |
| parent | 6fcd349f374710a3f4e0e0585bb6d7af86ebb66d (diff) | |
Restore math types to trivially copyable and add static asserts
Diffstat (limited to 'indra/llmath/llvector4logical.h')
| -rw-r--r-- | indra/llmath/llvector4logical.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llmath/llvector4logical.h b/indra/llmath/llvector4logical.h index 70759eef5c..77cb5862e5 100644 --- a/indra/llmath/llvector4logical.h +++ b/indra/llmath/llvector4logical.h @@ -61,7 +61,7 @@ public: }; // Empty default ctor - LLVector4Logical() {} + LLVector4Logical() = default; LLVector4Logical( const LLQuad& quad ) { @@ -120,7 +120,9 @@ public: private: - LLQuad mQ{}; + LLQuad mQ; }; +static_assert(std::is_trivial<LLVector4Logical>::value, "LLVector4Logical must be a standard layout type"); + #endif //LL_VECTOR4ALOGICAL_H |
