Skip to content

Commit

Permalink
remove BOOST_THREAD_PROVIDES_EXECUTORS definition from async_utils.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sewenew committed Sep 26, 2021
1 parent 556131e commit e29c63d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,11 @@ fut.get();
You can also use a thread pool to run the continuation:

```
#define BOOST_THREAD_PROVIDES_EXECUTORS
// You might also need to `#define BOOST_THREAD_USES_MOVE` with some version of Boost.
// See [this issue](https://github.com/sewenew/redis-plus-plus/issues/272) for detail.
#include <sw/redis++/async_redis++.h>
#include <boost/thread/executors/basic_thread_pool.hpp>
Expand Down
1 change: 0 additions & 1 deletion src/sw/redis++/future/boost/async_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#define BOOST_THREAD_PROVIDES_FUTURE
#define BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION
#define BOOST_THREAD_PROVIDES_EXECUTORS

#include <boost/thread/future.hpp>

Expand Down

0 comments on commit e29c63d

Please sign in to comment.