summaryrefslogtreecommitdiff
path: root/indra/llui/llchatmentionhelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llchatmentionhelper.cpp')
-rw-r--r--indra/llui/llchatmentionhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llchatmentionhelper.cpp b/indra/llui/llchatmentionhelper.cpp
index 98d846b947..f7769b2cbe 100644
--- a/indra/llui/llchatmentionhelper.cpp
+++ b/indra/llui/llchatmentionhelper.cpp
@@ -37,7 +37,7 @@ bool LLChatMentionHelper::isActive(const LLUICtrl* ctrl) const
return mHostHandle.get() == ctrl;
}
-bool LLChatMentionHelper::isCursorInNameMention(const LLWString& wtext, S32 cursor_pos, S32* mention_start_pos)
+bool LLChatMentionHelper::isCursorInNameMention(const LLWString& wtext, S32 cursor_pos, S32* mention_start_pos) const
{
if (cursor_pos <= 0 || cursor_pos > static_cast<S32>(wtext.size()))
return false;