Skip to content

Commit c119193

Browse files
committed
Small ASIO fix to build in C++20
1 parent ece9f95 commit c119193

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/asio/awaitable.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# include <experimental/coroutine>
2626
#endif // defined(ASIO_HAS_STD_COROUTINE)
2727

28+
#include <utility> // for std::exchange (needed in C++20)
2829
#include "asio/any_io_executor.hpp"
2930

3031
#include "asio/detail/push_options.hpp"

0 commit comments

Comments
 (0)