summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercamera.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-07-24 10:51:37 -0400
committerOz Linden <oz@lindenlab.com>2012-07-24 10:51:37 -0400
commit8df36196215131cbac961f47bfbd4a1b925548cb (patch)
tree35fe890f1f2e47c9acd0d411925897ee7e3794d6 /indra/newview/llviewercamera.h
parent4feef5af63f6294249aa50e37fba712cd9ddec91 (diff)
parentd7015a2b9b55907c8447d0051cf5d7ac862aebf7 (diff)
merge to viewer-developmento
Diffstat (limited to 'indra/newview/llviewercamera.h')
-rw-r--r--indra/newview/llviewercamera.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/llviewercamera.h b/indra/newview/llviewercamera.h
index 184033de42..b857c7fe89 100644
--- a/indra/newview/llviewercamera.h
+++ b/indra/newview/llviewercamera.h
@@ -51,9 +51,19 @@ const BOOL NOT_FOR_SELECTION = FALSE;
extern template class LLViewerCamera* LLSingleton<class LLViewerCamera>::getInstance();
#endif
+LL_ALIGN_PREFIX(16)
class LLViewerCamera : public LLCamera, public LLSingleton<LLViewerCamera>
{
public:
+ void* operator new(size_t size)
+ {
+ return ll_aligned_malloc_16(size);
+ }
+
+ void operator delete(void* ptr)
+ {
+ ll_aligned_free_16(ptr);
+ }
typedef enum
{
@@ -137,6 +147,7 @@ protected:
S16 mZoomSubregion;
public:
-};
+} LL_ALIGN_POSTFIX(16);
+
#endif // LL_LLVIEWERCAMERA_H