fix: support for upcoming Boost 1.87.0 #245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
io_service was deprecated and replaced by io_context in 1.66.01. The upcoming Boost 1.87.0 will remove the deprecated API2.
BOOST_REQUIRED_VERSION
is 1.67.0 so io_context should be available https://www.boost.org/doc/libs/1_67_0/doc/html/boost_asio/net_ts.htmlI didn't change variable names for just the minimum diff needed to compile, but could modify those to
ioc
if preferred.Footnotes
https://github.com/boostorg/asio/commit/b60e92b13ef68dfbb9af180d76eae41d22e19356 ↩
https://github.com/boostorg/asio/commit/ec0908c562102915423d8bd7aefd3079efbb6c86 ↩