diff options
author | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2011-05-17 17:50:12 +0200 |
---|---|---|
committer | Boroondas Gupte <hg@boroon.dasgupta.ch> | 2011-05-17 17:50:12 +0200 |
commit | 20a48876d0760c28ebbac379cd9da2e5aa2fb85d (patch) | |
tree | b9c6d1269fc7099258718b11406760d0e1e1885e /indra/newview/lltranslate.cpp | |
parent | 4ea383b7a42d4f533c28ba715c77a4b1af6402e7 (diff) |
VWR-25654 FOLLOWUP made temporary string variable const
Diffstat (limited to 'indra/newview/lltranslate.cpp')
-rw-r--r-- | indra/newview/lltranslate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltranslate.cpp b/indra/newview/lltranslate.cpp index 3ef78e679b..902e229ee1 100644 --- a/indra/newview/lltranslate.cpp +++ b/indra/newview/lltranslate.cpp @@ -85,7 +85,7 @@ void LLTranslate::translateMessage(LLHTTPClient::ResponderPtr &result, const std void LLTranslate::getTranslateUrl(std::string &translate_url, const std::string &from_lang, const std::string &to_lang, const std::string &mesg) { char * curl_str = curl_escape(mesg.c_str(), mesg.size()); - std::string escaped_mesg(curl_str); + std::string const escaped_mesg(curl_str); curl_free(curl_str); translate_url = m_GoogleURL |