VWR-25654 FOLLOWUP made temporary string variable const

meow-7.2.2
Boroondas Gupte 2011-05-17 17:50:12 +02:00
parent 4ea383b7a4
commit 20a48876d0
1 changed files with 1 additions and 1 deletions

View File

@ -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