diff options
Diffstat (limited to 'linden/indra/llmessage/llmessagethrottle.cpp')
-rw-r--r-- | linden/indra/llmessage/llmessagethrottle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llmessagethrottle.cpp b/linden/indra/llmessage/llmessagethrottle.cpp index ad9df26..47e1bd6 100644 --- a/linden/indra/llmessage/llmessagethrottle.cpp +++ b/linden/indra/llmessage/llmessagethrottle.cpp | |||
@@ -119,7 +119,7 @@ BOOL LLMessageThrottle::addViewerAlert(const LLUUID& to, const std::string& mesg | |||
119 | full_mesg << to << mesg; | 119 | full_mesg << to << mesg; |
120 | 120 | ||
121 | // Create an entry for this message. | 121 | // Create an entry for this message. |
122 | size_t hash = llhash<const char*> (full_mesg.str().c_str()); | 122 | size_t hash = llhash(full_mesg.str().c_str()); |
123 | LLMessageThrottleEntry entry(hash, LLFrameTimer::getTotalTime()); | 123 | LLMessageThrottleEntry entry(hash, LLFrameTimer::getTotalTime()); |
124 | 124 | ||
125 | // Check if this message is already in the list. | 125 | // Check if this message is already in the list. |
@@ -153,7 +153,7 @@ BOOL LLMessageThrottle::addAgentAlert(const LLUUID& agent, const LLUUID& task, c | |||
153 | full_mesg << agent << task << mesg; | 153 | full_mesg << agent << task << mesg; |
154 | 154 | ||
155 | // Create an entry for this message. | 155 | // Create an entry for this message. |
156 | size_t hash = llhash<const char*> (full_mesg.str().c_str()); | 156 | size_t hash = llhash(full_mesg.str().c_str()); |
157 | LLMessageThrottleEntry entry(hash, LLFrameTimer::getTotalTime()); | 157 | LLMessageThrottleEntry entry(hash, LLFrameTimer::getTotalTime()); |
158 | 158 | ||
159 | // Check if this message is already in the list. | 159 | // Check if this message is already in the list. |