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() ...@@ -219,10 +219,7 @@ void LLExperienceLog::loadEvents()
if(mMaxDays > 0 && settings.has("Events")) if(mMaxDays > 0 && settings.has("Events"))
{ {
const auto& events = settings["Events"]; const auto& events = settings["Events"];
for (auto iter = events.beginMap(), end = events.endMap(); iter != end; ++iter) mEvents.insert(events.beginMap(), events.endMap());
{
mEvents[iter->first] = iter->second;
}
} }
eraseExpired(); 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