summaryrefslogtreecommitdiff
path: root/indra/newview/llviewergenericmessage.cpp
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2008-06-26 00:39:00 +0000
committerSteven Bennetts <steve@lindenlab.com>2008-06-26 00:39:00 +0000
commit25c10ed028da5c547b11f1f461916897272b0e6d (patch)
tree350a5858f8970b6e28b2dc395625d74d8bd597b2 /indra/newview/llviewergenericmessage.cpp
parent6dd125d375b38455997a0c4b8747659f4c2351aa (diff)
QAR-628 merge string-cleanup-5 -r 90476:90508 -> release
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llviewergenericmessage.cpp')
-rw-r--r--indra/newview/llviewergenericmessage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewergenericmessage.cpp b/indra/newview/llviewergenericmessage.cpp
index 81b7594ef8..d7dbeb35d6 100644
--- a/indra/newview/llviewergenericmessage.cpp
+++ b/indra/newview/llviewergenericmessage.cpp
@@ -44,7 +44,7 @@
LLDispatcher gGenericDispatcher;
-void send_generic_message(const char* method,
+void send_generic_message(const std::string& method,
const std::vector<std::string>& strings,
const LLUUID& invoice)
{
@@ -69,7 +69,7 @@ void send_generic_message(const char* method,
for(; it != end; ++it)
{
msg->nextBlock("ParamList");
- msg->addString("Parameter", (*it).c_str());
+ msg->addString("Parameter", *it);
}
}
gAgent.sendReliableMessage();