diff options
Diffstat (limited to 'fix_pool_schedule.patch')
-rw-r--r-- | fix_pool_schedule.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fix_pool_schedule.patch b/fix_pool_schedule.patch new file mode 100644 index 000000000000..44b576118c87 --- /dev/null +++ b/fix_pool_schedule.patch @@ -0,0 +1,12 @@ +diff -aur threadpool-0_2_5-src.orig/threadpool/boost/threadpool/pool_adaptors.hpp threadpool-0_2_5-src/threadpool/boost/threadpool/pool_adaptors.hpp +--- threadpool-0_2_5-src.orig/threadpool/boost/threadpool/pool_adaptors.hpp 2015-03-17 21:42:28.561832318 -0700 ++++ threadpool-0_2_5-src/threadpool/boost/threadpool/pool_adaptors.hpp 2015-03-17 21:42:49.575073838 -0700 +@@ -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. |