Remove unused code & refactor and simplify event load timing

This commit is contained in:
Nik Bougalis
2017-01-17 15:20:24 -08:00
parent 8345475bc3
commit 15a30c745c
19 changed files with 97 additions and 665 deletions

View File

@@ -189,7 +189,7 @@ JobQueue::setThreadCount (int c, bool const standaloneMode)
m_workers.setNumberOfThreads (c);
}
LoadEvent::pointer
std::shared_ptr<LoadEvent>
JobQueue::getLoadEvent (JobType t, std::string const& name)
{
JobDataMap::iterator iter (m_jobData.find (t));
@@ -202,7 +202,7 @@ JobQueue::getLoadEvent (JobType t, std::string const& name)
std::ref (iter-> second.load ()), name, true);
}
LoadEvent::autoptr
std::unique_ptr<LoadEvent>
JobQueue::getLoadEventAP (JobType t, std::string const& name)
{
JobDataMap::iterator iter (m_jobData.find (t));