summaryrefslogtreecommitdiff
path: root/indra/llmessage/llmessagetemplate.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llmessage/llmessagetemplate.h')
-rw-r--r--indra/llmessage/llmessagetemplate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llmessage/llmessagetemplate.h b/indra/llmessage/llmessagetemplate.h
index 58214749ca..85fb0a7782 100644
--- a/indra/llmessage/llmessagetemplate.h
+++ b/indra/llmessage/llmessagetemplate.h
@@ -156,7 +156,7 @@ public:
LLMessageVariable(const char *name, const EMsgVariableType type, const S32 size) : mType(type), mSize(size)
{
- mName = gMessageStringTable.getString(name);
+ mName = LLMessageStringTable::getInstance()->getString(name);
}
~LLMessageVariable() {}
@@ -187,7 +187,7 @@ class LLMessageBlock
public:
LLMessageBlock(const char *name, EMsgBlockType type, S32 number = 1) : mType(type), mNumber(number), mTotalSize(0)
{
- mName = gMessageStringTable.getString(name);
+ mName = LLMessageStringTable::getInstance()->getString(name);
}
~LLMessageBlock()
@@ -293,7 +293,7 @@ public:
mHandlerFunc(NULL),
mUserData(NULL)
{
- mName = gMessageStringTable.getString(name);
+ mName = LLMessageStringTable::getInstance()->getString(name);
}
~LLMessageTemplate()