summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorCallum Prentice <callum@gmail.com>2020-09-22 13:07:39 -0700
committerCallum Prentice <callum@gmail.com>2020-09-22 13:07:39 -0700
commit38faec3b11d27c2f88b89283fe1a3a60d6ec4e42 (patch)
treecc2c7f22a38a2efba72eeb01124c3f873c3a1f83 /indra/llmath
parent14b5d490c37d234db7a52295502b130723186f3c (diff)
parent60ed688026269568a9eef67437dc780f88c92871 (diff)
Merge branch 'master' into DRTVWR-519
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llvector4a.h5
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);