File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,7 +148,6 @@ function(boost_corosio_setup_properties target)
148148 $<$<PLATFORM_ID :Windows >:ws2_32 >)
149149 target_compile_definitions (${target} PUBLIC BOOST_COROSIO_NO_LIB )
150150 target_compile_definitions (${target} PRIVATE BOOST_COROSIO_SOURCE )
151- target_compile_definitions (${target} PRIVATE $<$<PLATFORM_ID :Windows >:_WIN32_WINNT =0x0602 >)
152151 if (BUILD_SHARED_LIBS )
153152 target_compile_definitions (${target} PUBLIC BOOST_COROSIO_DYN_LINK )
154153 else ()
Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ class win_socket_impl
108108{
109109 friend class win_iocp_sockets ;
110110
111+ win_iocp_sockets& svc_;
112+ connect_op conn_;
113+ read_op rd_;
114+ write_op wr_;
115+ SOCKET socket_ = INVALID_SOCKET;
116+
111117public:
112118 explicit win_socket_impl (win_iocp_sockets& svc) noexcept ;
113119
@@ -141,14 +147,6 @@ class win_socket_impl
141147 void cancel () noexcept ;
142148 void close_socket () noexcept ;
143149 void set_socket (SOCKET s) noexcept { socket_ = s; }
144-
145- connect_op conn_;
146- read_op rd_;
147- write_op wr_;
148-
149- private:
150- win_iocp_sockets& svc_;
151- SOCKET socket_ = INVALID_SOCKET;
152150};
153151
154152// ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments