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

Small cleanup to LLExperienceLog event insertion

parent a4fb597e
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
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