From ac0eee2b51f35f4615bc0948ae0eba0679938ac5 Mon Sep 17 00:00:00 2001
From: Rider Linden <rider@lindenlab.com>
Date: Mon, 2 Nov 2015 13:41:22 -0800
Subject: [PATCH] MAINT-5812: cbegin & cend are not available on all platforms.

---
 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 e2108d67a8f..1936e247610 100755
--- a/indra/newview/lltranslate.cpp
+++ b/indra/newview/lltranslate.cpp
@@ -197,7 +197,7 @@ void LLTranslationAPIHandler::translateMessageCoro(LanguagePair_t fromTo, std::s
 
     int parseResult = status.getType();
     const LLSD::Binary &rawBody = result[LLCoreHttpUtil::HttpCoroutineAdapter::HTTP_RESULTS_RAW].asBinary();
-    std::string body(rawBody.cbegin(), rawBody.cend());
+    std::string body(rawBody.begin(), rawBody.end());
 
     if (this->parseResponse(parseResult, body, translation, detected_lang, err_msg))
     {
-- 
GitLab