From ac0eee2b51f35f4615bc0948ae0eba0679938ac5 Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Mon, 2 Nov 2015 13:41:22 -0800 Subject: MAINT-5812: cbegin & cend are not available on all platforms. --- indra/newview/lltranslate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/lltranslate.cpp b/indra/newview/lltranslate.cpp index e2108d67a8..1936e24761 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)) { -- cgit v1.2.3