Skip to content

Commit 08c4599

Browse files
committed
Added inline for when_all() and when_any().
1 parent f263c60 commit 08c4599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/thread/future.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4779,7 +4779,7 @@ namespace detail
47794779
}
47804780

47814781
//#if ! defined(BOOST_NO_CXX11_HDR_TUPLE)
4782-
BOOST_THREAD_FUTURE<csbl::tuple<> > when_all() {
4782+
inline BOOST_THREAD_FUTURE<csbl::tuple<> > when_all() {
47834783
return make_ready_future(csbl::tuple<>());
47844784
}
47854785
//#endif
@@ -4813,7 +4813,7 @@ namespace detail
48134813
}
48144814

48154815
//#if ! defined(BOOST_NO_CXX11_HDR_TUPLE)
4816-
BOOST_THREAD_FUTURE<csbl::tuple<> > when_any() {
4816+
inline BOOST_THREAD_FUTURE<csbl::tuple<> > when_any() {
48174817
return make_ready_future(csbl::tuple<>());
48184818
}
48194819
//#endif

0 commit comments

Comments
 (0)