summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSemyon Maryasin2018-08-25 23:03:50 +0300
committerSemyon Maryasin2018-08-25 23:04:26 +0300
commit410ddd60c39c56e7b9e806817404c047ee99b5f6 (patch)
tree72bb84561d43d348a2be25f4c4e6868e770e0e5f
parente2217a0f61bd0eb986b0f247801caba486ec5b14 (diff)
downloadaur-410ddd60c39c56e7b9e806817404c047ee99b5f6.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.patch6
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.