Linkgraph: Refactoring to avoid manual deletes.
This commit is contained in:
@@ -46,7 +46,7 @@ private:
|
||||
friend const SaveLoad *GetLinkGraphScheduleDesc();
|
||||
|
||||
protected:
|
||||
ComponentHandler *handlers[6]; ///< Handlers to be run for each job.
|
||||
std::unique_ptr<ComponentHandler> handlers[6]; ///< Handlers to be run for each job.
|
||||
GraphList schedule; ///< Queue for new jobs.
|
||||
JobList running; ///< Currently running jobs.
|
||||
|
||||
|
Reference in New Issue
Block a user