diff --git a/indra/newview/lltranslate.cpp b/indra/newview/lltranslate.cpp index e2108d67a8f5ad78fdcd96549b302f53c3f8ed47..1936e2476102ffc1b496b4cd6e200e66eb135686 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)) {