summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-07-03 20:06:47 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-07-03 20:06:47 +0300
commit779b5627c5e9c76a06938cd4e73a5b8f0440cabc (patch)
treeabafc7ab0b5ea0684f241bbae2a3b09b990fb6dc /indra/newview/llimview.cpp
parent2752e342f63fc74c49e19317885280fb279ae2fa (diff)
DRTVWR-493 LLAvatarNameCache to singletone
Diffstat (limited to 'indra/newview/llimview.cpp')
-rw-r--r--indra/newview/llimview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 8ec8c0a563..fc2f50b3f6 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -806,7 +806,7 @@ void LLIMModel::LLIMSession::addMessagesFromHistory(const std::list<LLSD>& histo
{
// convert it to a legacy name if we have a complete name
std::string legacy_name = gCacheName->buildLegacyName(from);
- from_id = LLAvatarNameCache::findIdByName(legacy_name);
+ from_id = LLAvatarNameCache::getInstance()->findIdByName(legacy_name);
}
std::string timestamp = msg[LL_IM_TIME];