summaryrefslogtreecommitdiff
path: root/indra/llmath/llquaternion2.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmath/llquaternion2.h')
-rw-r--r--indra/llmath/llquaternion2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmath/llquaternion2.h b/indra/llmath/llquaternion2.h
index 902bfb7134..c9dcc4573f 100644
--- a/indra/llmath/llquaternion2.h
+++ b/indra/llmath/llquaternion2.h
@@ -49,7 +49,7 @@ public:
//////////////////////////
// Ctor
- LLQuaternion2() {}
+ LLQuaternion2() = default;
// Ctor from LLQuaternion
explicit LLQuaternion2( const class LLQuaternion& quat );
@@ -102,4 +102,6 @@ protected:
};
+static_assert(std::is_trivial<LLQuaternion2>::value, "LLQuaternion2 must be a trivial type");
+
#endif