diff options
Diffstat (limited to 'boost/thread/futures/wait_for_all.hpp')
-rw-r--r-- | boost/thread/futures/wait_for_all.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/thread/futures/wait_for_all.hpp b/boost/thread/futures/wait_for_all.hpp index 90cc2b77cb..398eb4adee 100644 --- a/boost/thread/futures/wait_for_all.hpp +++ b/boost/thread/futures/wait_for_all.hpp @@ -60,7 +60,7 @@ namespace boost } #else template<typename F1, typename... Fs> - void wait_for_all(F1& f1, Fs&... fs) + typename boost::enable_if<is_future_type<F1>,void>::type wait_for_all(F1& f1, Fs&... fs) { bool dummy[] = { (f1.wait(), true), (fs.wait(), true)... }; |