Fix error in example embedded in basic_socket::get_option's documentation.

This commit is contained in:
Christopher Kohlhoff 2012-12-29 19:26:57 +11:00
parent 88cacbfa6d
commit 640b17ba7f

View File

@ -842,7 +842,7 @@ public:
* ...
* asio::ip::tcp::socket::keep_alive option;
* socket.get_option(option);
* bool is_set = option.get();
* bool is_set = option.value();
* @endcode
*/
template <typename GettableSocketOption>
@ -890,7 +890,7 @@ public:
* {
* // An error occurred.
* }
* bool is_set = option.get();
* bool is_set = option.value();
* @endcode
*/
template <typename GettableSocketOption>