diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 15f8bc2a2e2d884be7355680e227875af907171c..bd14097453299068165202660862a71c58f15584 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1209,7 +1209,7 @@ bool LLAppViewer::init() LLSD item(LeapCommand); LeapCommand.append(item); } - for (const std::string& leap : llsd::inArray(LeapCommand)) + for (const LLSD& leap : llsd::inArray(LeapCommand)) { LL_INFOS("InitInfo") << "processing --leap \"" << leap << '"' << LL_ENDL; // We don't have any better description of this plugin than the @@ -1218,7 +1218,7 @@ bool LLAppViewer::init() // Suppress LLLeap::Error exception: trust LLLeap's own logging. We // don't consider any one --leap command mission-critical, so if one // fails, log it, shrug and carry on. - LLLeap::create("", leap, false); // exception=false + LLLeap::create("", leap.asString(), false); // exception=false } if (gSavedSettings.getBOOL("QAMode") && gSavedSettings.getS32("QAModeEventHostPort") > 0)