fix unused arguments warnings

This commit is contained in:
Arvid Norberg 2012-05-06 00:40:31 +00:00
parent 0d7e3cb8c7
commit 511b9137b4
1 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@ public:
void io_control(IO_Control_Command& ioc, error_code& ec) {} void io_control(IO_Control_Command& ioc, error_code& ec) {}
#ifndef BOOST_NO_EXCEPTIONS #ifndef BOOST_NO_EXCEPTIONS
void bind(endpoint_type const& endpoint) {} void bind(endpoint_type const& /*endpoint*/) {}
#endif #endif
void bind(endpoint_type const& endpoint, error_code& ec); void bind(endpoint_type const& endpoint, error_code& ec);
@ -206,7 +206,7 @@ public:
error_code set_option(SettableSocketOption const& opt, error_code& ec) { return ec; } error_code set_option(SettableSocketOption const& opt, error_code& ec) { return ec; }
void close(); void close();
void close(error_code const& ec) { close(); } void close(error_code const& /*ec*/) { close(); }
bool is_open() const { return m_open; } bool is_open() const { return m_open; }
int read_buffer_size() const; int read_buffer_size() const;
@ -245,7 +245,7 @@ public:
endpoint_type remote_endpoint(error_code& ec) const; endpoint_type remote_endpoint(error_code& ec) const;
std::size_t available() const; std::size_t available() const;
std::size_t available(error_code& ec) const { return available(); } std::size_t available(error_code& /*ec*/) const { return available(); }
asio::io_service& get_io_service() { return m_io_service; } asio::io_service& get_io_service() { return m_io_service; }