Skip to content
Snippets Groups Projects
Commit 20a48876 authored by Boroondas Gupte's avatar Boroondas Gupte
Browse files

VWR-25654 FOLLOWUP made temporary string variable const

parent 4ea383b7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment