diff options
Diffstat (limited to 'boost/asio/basic_socket_acceptor.hpp')
-rw-r--r-- | boost/asio/basic_socket_acceptor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/asio/basic_socket_acceptor.hpp b/boost/asio/basic_socket_acceptor.hpp index 3cbfa5081d..8afdfd3009 100644 --- a/boost/asio/basic_socket_acceptor.hpp +++ b/boost/asio/basic_socket_acceptor.hpp @@ -2,7 +2,7 @@ // basic_socket_acceptor.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -743,7 +743,7 @@ public: * @endcode */ template <typename GettableSocketOption> - void get_option(GettableSocketOption& option) + void get_option(GettableSocketOption& option) const { boost::system::error_code ec; this->get_service().get_option(this->get_implementation(), option, ec); @@ -779,7 +779,7 @@ public: */ template <typename GettableSocketOption> BOOST_ASIO_SYNC_OP_VOID get_option(GettableSocketOption& option, - boost::system::error_code& ec) + boost::system::error_code& ec) const { this->get_service().get_option(this->get_implementation(), option, ec); BOOST_ASIO_SYNC_OP_VOID_RETURN(ec); |