From 20a48876d0760c28ebbac379cd9da2e5aa2fb85d Mon Sep 17 00:00:00 2001
From: Boroondas Gupte <hg@boroon.dasgupta.ch>
Date: Tue, 17 May 2011 17:50:12 +0200
Subject: [PATCH] VWR-25654 FOLLOWUP made temporary string variable const

---
 indra/newview/lltranslate.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/lltranslate.cpp b/indra/newview/lltranslate.cpp
index 3ef78e679b5..902e229ee19 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
-- 
GitLab