summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2009-10-26 17:33:28 +0200
committerIgor Borovkov <iborovkov@productengine.com>2009-10-26 17:33:28 +0200
commite931d2d6f1a7d981bebf07b1d089fa4751096830 (patch)
treebd724832ab7043ead1e93dde238a2fe19075cad3 /indra/newview/llimfloater.cpp
parentd81b8884109cbeacf211282b0a08aa3aea425294 (diff)
IM refac.: replaced passing copies by passing references, moved some IMModel private, added documentation
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index a20b5ea66c..57e3fba3f5 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -402,7 +402,8 @@ void LLIMFloater::sessionInitReplyReceived(const LLUUID& im_session_id)
void LLIMFloater::updateMessages()
{
- std::list<LLSD> messages = LLIMModel::instance().getMessages(mSessionID, mLastMessageIndex+1);
+ std::list<LLSD> messages;
+ LLIMModel::instance().getMessages(mSessionID, messages, mLastMessageIndex+1);
std::string agent_name;
gCacheName->getFullName(gAgentID, agent_name);