From 6b24f65e9713bd7cfdab3633e0cef975c0da2ada Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sat, 7 Nov 2020 02:03:00 -0500 Subject: [PATCH] Fix loop conversion warning --- indra/newview/llappviewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 15f8bc2a2e2..bd140974532 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) -- GitLab