summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-03-29 13:55:43 -0400
committerLoren Shih <seraph@lindenlab.com>2010-03-29 13:55:43 -0400
commitb4cb21e9b38bd86eddfd4ebef82283e2865f958b (patch)
tree9ab26fa54a1add7543502eb335fecd1d517ad240
parenta339e02d914256d4ec42180f2790ff1c6f8a1a14 (diff)
EXT-6536 : Make LLVOAvatarSelf a singleton
Fix for cleaning up gAgentAvatar on app shutdown.
-rw-r--r--indra/newview/llvoavatarself.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index 06c9af6c2f..9c2e5461b2 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -518,7 +518,7 @@ BOOL LLVOAvatarSelf::buildMenus()
return TRUE;
}
-LLVOAvatarSelf::cleanup()
+void LLVOAvatarSelf::cleanup()
{
markDead();
delete mScreenp;