Ticket #1703: asio.diff

File asio.diff, 6.4 KB (added by Richard Webb <richard.webb@…>, 15 years ago)
  • buffered_read_stream.hpp

     
    199199    }
    200200
    201201  private:
     202    fill_handler& operator=(fill_handler&);
     203
     204  private:
    202205    boost::asio::io_service& io_service_;
    203206    detail::buffered_stream_storage& storage_;
    204207    std::size_t previous_size_;
     
    288291    }
    289292
    290293  private:
     294    read_some_handler& operator=(read_some_handler&);
     295
     296  private:
    291297    boost::asio::io_service& io_service_;
    292298    detail::buffered_stream_storage& storage_;
    293299    MutableBufferSequence buffers_;
  • buffered_write_stream.hpp

     
    162162      io_service_.dispatch(detail::bind_handler(handler_, ec, bytes_written));
    163163    }
    164164
     165private:
     166  flush_handler& operator=(flush_handler&);
     167
    165168  private:
    166169    boost::asio::io_service& io_service_;
    167170    detail::buffered_stream_storage& storage_;
     
    246249    }
    247250
    248251  private:
     252    write_some_handler& operator=(write_some_handler&);
     253
     254  private:
    249255    boost::asio::io_service& io_service_;
    250256    detail::buffered_stream_storage& storage_;
    251257    ConstBufferSequence buffers_;
  • detail/buffer_resize_guard.hpp

     
    5656  }
    5757
    5858private:
     59  buffer_resize_guard& operator=(buffer_resize_guard&);
     60
     61private:
    5962  // The buffer being managed.
    6063  Buffer& buffer_;
    6164
  • detail/select_reactor.hpp

     
    6666      thread_(0),
    6767      shutdown_(false)
    6868  {
     69#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     70# pragma warning (suppress : 4127)//conditional expression is constant
     71#endif
    6972    if (Own_Thread)
    7073    {
    7174      boost::asio::detail::signal_blocker sb;
     
    107110
    108111  // Register a socket with the reactor. Returns 0 on success, system error
    109112  // code on failure.
    110   int register_descriptor(socket_type descriptor)
     113  int register_descriptor(socket_type /*descriptor*/)
    111114  {
    112115    return 0;
    113116  }
  • detail/strand_service.hpp

     
    249249    // in some situations.
    250250
    251251  private:
     252    invoke_current_handler operator=(const invoke_current_handler&);
     253
     254  private:
    252255    strand_service& service_impl_;
    253256    implementation_type impl_;
    254257  };
     
    289292    }
    290293
    291294  private:
     295    post_next_waiter_on_exit operator=(const post_next_waiter_on_exit&);
     296
     297  private:
    292298    strand_service& service_impl_;
    293299    implementation_type& impl_;
    294300    bool cancelled_;
  • detail/task_io_service.hpp

     
    339339    }
    340340
    341341  private:
     342    task_cleanup& operator=(task_cleanup&);
     343
     344  private:
    342345    boost::asio::detail::mutex::scoped_lock& lock_;
    343346    task_io_service& task_io_service_;
    344347  };
     
    364367    }
    365368
    366369  private:
     370    handler_cleanup& operator=(handler_cleanup&);
     371
     372  private:
    367373    boost::asio::detail::mutex::scoped_lock& lock_;
    368374    task_io_service& task_io_service_;
    369375  };
  • detail/win_iocp_io_service.hpp

     
    584584    }
    585585
    586586  private:
     587    auto_work operator=(const auto_work&);
     588
     589  private:
    587590    win_iocp_io_service& io_service_;
    588591  };
    589592
  • detail/win_iocp_socket_service.hpp

     
    15721572
    15731573  private:
    15741574    static void do_completion_impl(operation* op,
    1575         DWORD last_error, size_t bytes_transferred)
     1575        DWORD last_error, size_t /*bytes_transferred*/)
    15761576    {
    15771577      // Take ownership of the operation object.
    15781578      typedef accept_operation<Socket, Handler> op_type;
  • impl/read.ipp

     
    157157    std::size_t total_transferred_;
    158158    CompletionCondition completion_condition_;
    159159    ReadHandler handler_;
     160   
     161  private:
     162    read_handler& operator=(read_handler&);
    160163  };
    161164
    162165  template <typename AsyncReadStream, typename MutableBufferSequence,
  • impl/read_until.ipp

     
    332332    char delim_;
    333333    std::size_t next_search_start_;
    334334    ReadHandler handler_;
     335   
     336  private:
     337    read_until_delim_handler& operator=(read_until_delim_handler&);
    335338  };
    336339
    337340  template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
     
    489492    std::string delim_;
    490493    std::size_t next_search_start_;
    491494    ReadHandler handler_;
     495   
     496  private:
     497    read_until_delim_string_handler& operator=(read_until_delim_string_handler&);
    492498  };
    493499
    494500  template <typename AsyncReadStream, typename Allocator, typename ReadHandler>
  • impl/write.ipp

     
    143143    std::size_t total_transferred_;
    144144    CompletionCondition completion_condition_;
    145145    WriteHandler handler_;
     146     
     147  private:
     148    write_handler& operator=(write_handler&);
    146149  };
    147150
    148151  template <typename AsyncWriteStream, typename ConstBufferSequence,
  • strand.hpp

     
    173173  }
    174174
    175175private:
     176  strand operator=(const strand&);
     177
     178private:
    176179  boost::asio::detail::strand_service& service_;
    177180  boost::asio::detail::strand_service::implementation_type impl_;
    178181};