Skip to content

Commit

Permalink
Fixed compilation with Boost 1.67
Browse files Browse the repository at this point in the history
  • Loading branch information
breese committed Apr 7, 2020
1 parent 4d5a0da commit 85b113c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/native_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace aware

native_socket::native_socket(const trial::net::executor& executor,
native_handle_type handle)
: socket(executor, handle)
: socket(trial::net::extension::get_executor(executor), handle)
{
}

Expand Down
2 changes: 1 addition & 1 deletion src/native_socket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <trial/net/io_context.hpp>

// Deprecated in 1.66 and removed from 1.70
#if (BOOST_VERSION < 107000) || defined(BOOST_ASIO_ENABLE_OLD_SERVICES)
#if (BOOST_VERSION < 106700) || defined(BOOST_ASIO_ENABLE_OLD_SERVICES)
# define TRIAL_AWARE_HAVE_STREAM_DESCRIPTOR_SERVICE 1
#endif

Expand Down

0 comments on commit 85b113c

Please sign in to comment.