diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2020-02-04 16:10:04 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2020-02-04 16:10:04 +0200 |
commit | abfc78429ff1f7f9f8c78b4706254b2510d63351 (patch) | |
tree | 295a79190ba55bcfcb5ca6b0f866b6938375eaf6 /indra | |
parent | 0e7ab122ec0761ca0a82251d63a7367e7147f4be (diff) |
SL-12179 Change LLVector4a to a struct
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llmath/llvector4a.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/llmath/llvector4a.h b/indra/llmath/llvector4a.h index 222f3cf235..27abf39537 100644 --- a/indra/llmath/llvector4a.h +++ b/indra/llmath/llvector4a.h @@ -46,10 +46,10 @@ class LLRotation; // of this writing, July 08, 2010) about getting it implemented before you resort to // LLVector3/LLVector4. ///////////////////////////////// -class LLVector4a; +struct LLVector4a; LL_ALIGN_PREFIX(16) -class LLVector4a +struct LLVector4a { public: @@ -92,6 +92,7 @@ public: // CONSTRUCTORS //////////////////////////////////// + //LLVector4a is plain data which should never have a default constructor or destructor(malloc&free won't trigger it) LLVector4a() { //DO NOT INITIALIZE -- The overhead is completely unnecessary ll_assert_aligned(this,16); |