MAINT-5812: cbegin & cend are not available on all platforms.

master
Rider Linden 2015-11-02 13:41:22 -08:00
parent 8866ba3a7f
commit ac0eee2b51
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{