summaryrefslogtreecommitdiff
path: root/indra/llappearance/lldriverparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llappearance/lldriverparam.h')
-rw-r--r--indra/llappearance/lldriverparam.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llappearance/lldriverparam.h b/indra/llappearance/lldriverparam.h
index 30e71daad9..00f43156bb 100644
--- a/indra/llappearance/lldriverparam.h
+++ b/indra/llappearance/lldriverparam.h
@@ -85,6 +85,16 @@ public:
LLDriverParam(LLAvatarAppearance *appearance, LLWearable* wearable = NULL);
~LLDriverParam();
+ void* operator new(size_t size)
+ {
+ return ll_aligned_malloc_16(size);
+ }
+
+ void operator delete(void* ptr)
+ {
+ ll_aligned_free_16(ptr);
+ }
+
// Special: These functions are overridden by child classes
LLDriverParamInfo* getInfo() const { return (LLDriverParamInfo*)mInfo; }
// This sets mInfo and calls initialization functions