Skip to content

Commit 3d99bd7

Browse files
committed
Fixed clang doc warnings
1 parent 60ae334 commit 3d99bd7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

include/sockpp/acceptor.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class acceptor : public socket
111111
* @param reuse A reuse option for the socket. This can be SO_REUSEADDR
112112
* or SO_REUSEPORT, and is set before it tries to bind. A
113113
* value of zero doesn;t set an option.
114-
* @throws std::system_error
114+
* @throws std::system_error on failure
115115
*/
116116
acceptor(const sock_address& addr, int queSize = DFLT_QUE_SIZE, int reuse = 0) {
117117
if (auto res = open(addr, queSize, reuse); !res)
@@ -227,7 +227,7 @@ class acceptor_tmpl : public acceptor
227227
* Creates a acceptor and starts it listening on the specified address.
228228
* @param addr The TCP address on which to listen.
229229
* @param queSize The listener queue size.
230-
* @throws std::system_error
230+
* @throws std::system_error on failure
231231
*/
232232
acceptor_tmpl(const addr_t& addr, int queSize = DFLT_QUE_SIZE, int reuse = 0) {
233233
if (auto res = open(addr, queSize, reuse); !res)
@@ -260,7 +260,7 @@ class acceptor_tmpl : public acceptor
260260
* host.
261261
* @param port The TCP port on which to listen.
262262
* @param queSize The listener queue size.
263-
* @throws std::system_error
263+
* @throws std::system_error on failure
264264
*/
265265
acceptor_tmpl(in_port_t port, int queSize = DFLT_QUE_SIZE) {
266266
if (auto res = open(port, queSize); !res)

include/sockpp/connector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class connector : public stream_socket
8282
* Creates the connector and attempts to connect to the specified
8383
* address.
8484
* @param addr The remote server address.
85-
* @throws std::system_error
85+
* @throws std::system_error on failure
8686
*/
8787
connector(const sock_address& addr) {
8888
if (auto res = connect(addr); !res)
@@ -129,7 +129,7 @@ class connector : public stream_socket
129129
* `timed_out`.
130130
* @param addr The remote server address.
131131
* @param t The duration after which to give up. Zero means never.
132-
* @throws std::system_error
132+
* @throws std::system_error on failure
133133
*/
134134
connector(const sock_address& addr, std::chrono::milliseconds t) {
135135
if (auto res = connect(addr, t); !res)

0 commit comments

Comments
 (0)