Ticket #1703: asio.diff
File asio.diff, 6.4 KB (added by , 15 years ago) |
---|
-
buffered_read_stream.hpp
199 199 } 200 200 201 201 private: 202 fill_handler& operator=(fill_handler&); 203 204 private: 202 205 boost::asio::io_service& io_service_; 203 206 detail::buffered_stream_storage& storage_; 204 207 std::size_t previous_size_; … … 288 291 } 289 292 290 293 private: 294 read_some_handler& operator=(read_some_handler&); 295 296 private: 291 297 boost::asio::io_service& io_service_; 292 298 detail::buffered_stream_storage& storage_; 293 299 MutableBufferSequence buffers_; -
buffered_write_stream.hpp
162 162 io_service_.dispatch(detail::bind_handler(handler_, ec, bytes_written)); 163 163 } 164 164 165 private: 166 flush_handler& operator=(flush_handler&); 167 165 168 private: 166 169 boost::asio::io_service& io_service_; 167 170 detail::buffered_stream_storage& storage_; … … 246 249 } 247 250 248 251 private: 252 write_some_handler& operator=(write_some_handler&); 253 254 private: 249 255 boost::asio::io_service& io_service_; 250 256 detail::buffered_stream_storage& storage_; 251 257 ConstBufferSequence buffers_; -
detail/buffer_resize_guard.hpp
56 56 } 57 57 58 58 private: 59 buffer_resize_guard& operator=(buffer_resize_guard&); 60 61 private: 59 62 // The buffer being managed. 60 63 Buffer& buffer_; 61 64 -
detail/select_reactor.hpp
66 66 thread_(0), 67 67 shutdown_(false) 68 68 { 69 #if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 70 # pragma warning (suppress : 4127)//conditional expression is constant 71 #endif 69 72 if (Own_Thread) 70 73 { 71 74 boost::asio::detail::signal_blocker sb; … … 107 110 108 111 // Register a socket with the reactor. Returns 0 on success, system error 109 112 // code on failure. 110 int register_descriptor(socket_type descriptor)113 int register_descriptor(socket_type /*descriptor*/) 111 114 { 112 115 return 0; 113 116 } -
detail/strand_service.hpp
249 249 // in some situations. 250 250 251 251 private: 252 invoke_current_handler operator=(const invoke_current_handler&); 253 254 private: 252 255 strand_service& service_impl_; 253 256 implementation_type impl_; 254 257 }; … … 289 292 } 290 293 291 294 private: 295 post_next_waiter_on_exit operator=(const post_next_waiter_on_exit&); 296 297 private: 292 298 strand_service& service_impl_; 293 299 implementation_type& impl_; 294 300 bool cancelled_; -
detail/task_io_service.hpp
339 339 } 340 340 341 341 private: 342 task_cleanup& operator=(task_cleanup&); 343 344 private: 342 345 boost::asio::detail::mutex::scoped_lock& lock_; 343 346 task_io_service& task_io_service_; 344 347 }; … … 364 367 } 365 368 366 369 private: 370 handler_cleanup& operator=(handler_cleanup&); 371 372 private: 367 373 boost::asio::detail::mutex::scoped_lock& lock_; 368 374 task_io_service& task_io_service_; 369 375 }; -
detail/win_iocp_io_service.hpp
584 584 } 585 585 586 586 private: 587 auto_work operator=(const auto_work&); 588 589 private: 587 590 win_iocp_io_service& io_service_; 588 591 }; 589 592 -
detail/win_iocp_socket_service.hpp
1572 1572 1573 1573 private: 1574 1574 static void do_completion_impl(operation* op, 1575 DWORD last_error, size_t bytes_transferred)1575 DWORD last_error, size_t /*bytes_transferred*/) 1576 1576 { 1577 1577 // Take ownership of the operation object. 1578 1578 typedef accept_operation<Socket, Handler> op_type; -
impl/read.ipp
157 157 std::size_t total_transferred_; 158 158 CompletionCondition completion_condition_; 159 159 ReadHandler handler_; 160 161 private: 162 read_handler& operator=(read_handler&); 160 163 }; 161 164 162 165 template <typename AsyncReadStream, typename MutableBufferSequence, -
impl/read_until.ipp
332 332 char delim_; 333 333 std::size_t next_search_start_; 334 334 ReadHandler handler_; 335 336 private: 337 read_until_delim_handler& operator=(read_until_delim_handler&); 335 338 }; 336 339 337 340 template <typename AsyncReadStream, typename Allocator, typename ReadHandler> … … 489 492 std::string delim_; 490 493 std::size_t next_search_start_; 491 494 ReadHandler handler_; 495 496 private: 497 read_until_delim_string_handler& operator=(read_until_delim_string_handler&); 492 498 }; 493 499 494 500 template <typename AsyncReadStream, typename Allocator, typename ReadHandler> -
impl/write.ipp
143 143 std::size_t total_transferred_; 144 144 CompletionCondition completion_condition_; 145 145 WriteHandler handler_; 146 147 private: 148 write_handler& operator=(write_handler&); 146 149 }; 147 150 148 151 template <typename AsyncWriteStream, typename ConstBufferSequence, -
strand.hpp
173 173 } 174 174 175 175 private: 176 strand operator=(const strand&); 177 178 private: 176 179 boost::asio::detail::strand_service& service_; 177 180 boost::asio::detail::strand_service::implementation_type impl_; 178 181 };