diff options
Diffstat (limited to 'linden/indra/newview/llviewergenericmessage.cpp')
-rw-r--r-- | linden/indra/newview/llviewergenericmessage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewergenericmessage.cpp b/linden/indra/newview/llviewergenericmessage.cpp index 9480574..c0c4592 100644 --- a/linden/indra/newview/llviewergenericmessage.cpp +++ b/linden/indra/newview/llviewergenericmessage.cpp | |||
@@ -44,7 +44,7 @@ | |||
44 | LLDispatcher gGenericDispatcher; | 44 | LLDispatcher gGenericDispatcher; |
45 | 45 | ||
46 | 46 | ||
47 | void send_generic_message(const char* method, | 47 | void send_generic_message(const std::string& method, |
48 | const std::vector<std::string>& strings, | 48 | const std::vector<std::string>& strings, |
49 | const LLUUID& invoice) | 49 | const LLUUID& invoice) |
50 | { | 50 | { |
@@ -69,7 +69,7 @@ void send_generic_message(const char* method, | |||
69 | for(; it != end; ++it) | 69 | for(; it != end; ++it) |
70 | { | 70 | { |
71 | msg->nextBlock("ParamList"); | 71 | msg->nextBlock("ParamList"); |
72 | msg->addString("Parameter", (*it).c_str()); | 72 | msg->addString("Parameter", *it); |
73 | } | 73 | } |
74 | } | 74 | } |
75 | gAgent.sendReliableMessage(); | 75 | gAgent.sendReliableMessage(); |