summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-01-26 18:06:28 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2010-01-26 18:06:28 -0800
commitfb0ff294e8257bf2054f342413c6f72f6f6f65d7 (patch)
tree84079e84d50311a2a183826d68308967b2bb8de7
parent30a2efb142c9f87fb0bea3bf241147e388587918 (diff)
CID-392
Checker: UNINIT_CTOR Function: LLNearbyChatToastPanel::LLNearbyChatToastPanel() File: /indra/newview/llchatitemscontainerctrl.h
-rw-r--r--indra/newview/llchatitemscontainerctrl.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.h b/indra/newview/llchatitemscontainerctrl.h
index f4b8655054..4d730573d9 100644
--- a/indra/newview/llchatitemscontainerctrl.h
+++ b/indra/newview/llchatitemscontainerctrl.h
@@ -1,5 +1,5 @@
/**
- * @file llchatitemscontainer.h
+ * @file llchatitemscontainerctrl.h
* @brief chat history scrolling panel implementation
*
* $LicenseInfo:firstyear=2004&license=viewergpl$
@@ -30,12 +30,12 @@
* $/LicenseInfo$
*/
-#ifndef LL_LLCHATITEMSCONTAINER_H_
-#define LL_LLCHATITEMSCONTAINER_H_
+#ifndef LL_LLCHATITEMSCONTAINERCTRL_H_
+#define LL_LLCHATITEMSCONTAINERCTRL_H_
+#include "llchat.h"
#include "llpanel.h"
#include "llscrollbar.h"
-#include "string"
#include "llviewerchat.h"
#include "lltoastpanel.h"
@@ -49,10 +49,12 @@ typedef enum e_show_item_header
class LLNearbyChatToastPanel: public LLToastPanelBase
{
protected:
- LLNearbyChatToastPanel():mIsDirty(false){};
+ LLNearbyChatToastPanel()
+ :
+ mIsDirty(false),
+ mSourceType(CHAT_SOURCE_OBJECT)
+ {};
public:
-
-
~LLNearbyChatToastPanel(){}
static LLNearbyChatToastPanel* createInstance();