]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | diff --git a/src/Common/QuickFASTPch.h b/src/Common/QuickFASTPch.h |
2 | index 3574df8..c4ef4e1 100644 | |
3 | --- a/src/Common/QuickFASTPch.h | |
4 | +++ b/src/Common/QuickFASTPch.h | |
5 | @@ -32,7 +32,7 @@ | |
6 | #include <string.h> | |
7 | ||
8 | // If building for .NET, must link boost threads dynamically | |
9 | -#define BOOST_THREAD_USE_DLL | |
10 | +// #define BOOST_THREAD_USE_DLL | |
11 | // This reports at compile time which boost libraries will be used | |
12 | // #define BOOST_LIB_DIAGNOSTIC | |
13 | ||
14 | diff --git a/src/Communication/AsioService.h b/src/Communication/AsioService.h | |
15 | index 4f61915..96f2198 100644 | |
16 | --- a/src/Communication/AsioService.h | |
17 | +++ b/src/Communication/AsioService.h | |
18 | @@ -99,6 +99,7 @@ namespace QuickFAST | |
19 | { | |
20 | return ioService_; | |
21 | } | |
22 | + boost::asio::io_service::executor_type get_executor() BOOST_ASIO_NOEXCEPT { return ioService_.get_executor();} | |
23 | ||
24 | ///@brief Post a completion handler for later processing (usually in a different thread) | |
25 | /// @param handler is the handler to be posted | |
26 | diff --git a/src/Communication/AsioService_fwd.h b/src/Communication/AsioService_fwd.h | |
27 | index dc2f235..6ad5e68 100644 | |
28 | --- a/src/Communication/AsioService_fwd.h | |
29 | +++ b/src/Communication/AsioService_fwd.h | |
30 | @@ -17,7 +17,8 @@ namespace boost | |
31 | { | |
32 | namespace asio | |
33 | { | |
34 | - class io_service; | |
35 | + class io_context; | |
36 | + typedef io_context io_service; | |
37 | } | |
38 | } | |
39 |