Commit a29913f4 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Small cleanup to LLExperienceLog event insertion

parent a4fb597e
......@@ -219,10 +219,7 @@ void LLExperienceLog::loadEvents()
if(mMaxDays > 0 && settings.has("Events"))
{
const auto& events = settings["Events"];
for (auto iter = events.beginMap(), end = events.endMap(); iter != end; ++iter)
{
mEvents[iter->first] = iter->second;
}
mEvents.insert(events.beginMap(), events.endMap());
}
eraseExpired();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment