Commit 34908176 authored by ufownl's avatar ufownl Committed by Dominik Charousset

Fix the return type of `add_tcp_doorman`

The function with the same signature in `abstract_broker` return a
`std::pair<accept_handle, uint16_t>` object.
parent ef6430f1
......@@ -184,7 +184,7 @@ public:
return super::add_tcp_scribe(fd);
}
maybe<std::pair<accept_handle, uint16_t>>
std::pair<accept_handle, uint16_t>
add_tcp_doorman(uint16_t port = 0,
const char* in = nullptr,
bool reuse_addr = false) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment