From fb0ff294e8257bf2054f342413c6f72f6f6f65d7 Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Tue, 26 Jan 2010 18:06:28 -0800
Subject: [PATCH] CID-392  Checker: UNINIT_CTOR Function:
 LLNearbyChatToastPanel::LLNearbyChatToastPanel() File:
 /indra/newview/llchatitemscontainerctrl.h

---
 indra/newview/llchatitemscontainerctrl.h | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/indra/newview/llchatitemscontainerctrl.h b/indra/newview/llchatitemscontainerctrl.h
index f4b86550541..4d730573d96 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();
-- 
GitLab