summaryrefslogtreecommitdiff
path: root/indra/llmath/lloctree.h
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-10-29 15:11:42 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-10-29 15:11:42 -0700
commit1be8a8d10bd3542b0b5c2943a508509c5cfcf3ef (patch)
treea4bd2bdddb24ae0b443878b0337e77787d3fea40 /indra/llmath/lloctree.h
parent61bca72d37f695ee15897ddc3b9215c969ecf648 (diff)
parent68b75be652575ff301172b7b19522d4f0494bdf0 (diff)
Fix merge conflict
Diffstat (limited to 'indra/llmath/lloctree.h')
-rw-r--r--indra/llmath/lloctree.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h
index 0e2f62f9db..8c4a1304b4 100644
--- a/indra/llmath/lloctree.h
+++ b/indra/llmath/lloctree.h
@@ -74,8 +74,9 @@ public:
};
template <class T>
-class LLOctreeNode : public LLTreeNode<T>
+class alignas(16) LLOctreeNode : public LLTreeNode<T>
{
+ LL_ALIGN_NEW
public:
typedef LLOctreeTraveler<T> oct_traveler;
@@ -91,16 +92,6 @@ public:
typedef LLOctreeNode<T> oct_node;
typedef LLOctreeListener<T> oct_listener;
- void* operator new(size_t size)
- {
- return ll_aligned_malloc_16(size);
- }
-
- void operator delete(void* ptr)
- {
- ll_aligned_free_16(ptr);
- }
-
LLOctreeNode( const LLVector4a& center,
const LLVector4a& size,
BaseType* parent,