fix formatting

This commit is contained in:
sfja 2026-03-25 23:18:47 +01:00
parent 1e9740e544
commit f8412ec21e
2 changed files with 6 additions and 4 deletions

View File

@ -21,8 +21,9 @@ auto Client::wake() -> Result<void>
return { };
}
auto Server::bind(mst::event::Manager& mgr, const std::string& host,
uint16_t port) -> Result<void>
auto Server::bind(
mst::event::Manager& mgr, const std::string& host, uint16_t port)
-> Result<void>
{
auto x = TcpListener::bind(host, port);
if (!x) {

View File

@ -8,8 +8,9 @@ namespace mst {
class Server {
public:
auto wake(mst::event::Manager& mgr) -> Result<void>;
static auto bind(mst::event::Manager& mgr, const std::string& host,
uint16_t port) -> Result<void>;
static auto bind(
mst::event::Manager& mgr, const std::string& host, uint16_t port)
-> Result<void>;
private:
TcpListener listener;