Fix error in example embedded in basic_socket::get_option's documentation.
This commit is contained in:
parent
88cacbfa6d
commit
640b17ba7f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user