Fixed style.
This commit is contained in:
parent
120b347fb5
commit
1eae7d0ece
@ -1073,8 +1073,10 @@ void cWorld::TickScheduledTasks(void)
|
||||
std::find_if(
|
||||
m_ScheduledTasks.begin(),
|
||||
m_ScheduledTasks.end(),
|
||||
[WorldAge] (std::unique_ptr<cScheduledTask> & Task) { return Task->m_TargetTick < WorldAge;}),
|
||||
std::back_inserter(Tasks));
|
||||
[WorldAge] (cScheduledTaskPtr & Task) { return (Task->m_TargetTick < WorldAge);}
|
||||
),
|
||||
std::back_inserter(Tasks)
|
||||
);
|
||||
}
|
||||
|
||||
// Execute and delete each task:
|
||||
|
@ -861,7 +861,8 @@ private:
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::list<std::unique_ptr<cScheduledTask>> cScheduledTasks;
|
||||
typedef std::unique_ptr<cScheduledTask> cScheduledTaskPtr;
|
||||
typedef std::list<cScheduledTaskPtr> cScheduledTasks;
|
||||
|
||||
|
||||
AString m_WorldName;
|
||||
|
Loading…
Reference in New Issue
Block a user