diff options
author | Semyon Maryasin | 2018-08-25 23:03:50 +0300 |
---|---|---|
committer | Semyon Maryasin | 2018-08-25 23:04:26 +0300 |
commit | 410ddd60c39c56e7b9e806817404c047ee99b5f6 (patch) | |
tree | 72bb84561d43d348a2be25f4c4e6868e770e0e5f | |
parent | e2217a0f61bd0eb986b0f247801caba486ec5b14 (diff) | |
download | aur-threadpool.tar.gz |
Fix patch file
Re-introduce "whitespace errors" which were seemingly lost during transition to git.
They are important for the patch file.
-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. |