Skip to content
Snippets Groups Projects
Commit 6b24f65e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix loop conversion warning

parent e27806e1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment