diff options
-rw-r--r-- | fix_pool_schedule.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fix_pool_schedule.patch b/fix_pool_schedule.patch index 44b576118c87..1e6d87615793 100644 --- a/fix_pool_schedule.patch +++ b/fix_pool_schedule.patch @@ -4,9 +4,9 @@ diff -aur threadpool-0_2_5-src.orig/threadpool/boost/threadpool/pool_adaptors.hp @@ -35,7 +35,7 @@ template<typename Pool, typename Runnable> bool schedule(Pool& pool, shared_ptr<Runnable> const & obj) - { + { - return pool->schedule(bind(&Runnable::run, obj)); + return pool.schedule(bind(&Runnable::run, obj)); - } - + } + /*! Schedules a task for asynchronous execution. The task will be executed once only. |