Commits

Boroondas Gupte committed 8e2d938

VWR-25654 FOLLOWUP made temporary string variable const

  • Participants
  • Parent commits c7f71f2

Comments (0)

Files changed (1)

File indra/newview/lltranslate.cpp

 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