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 { }; return { };
} }
auto Server::bind(mst::event::Manager& mgr, const std::string& host, auto Server::bind(
uint16_t port) -> Result<void> mst::event::Manager& mgr, const std::string& host, uint16_t port)
-> Result<void>
{ {
auto x = TcpListener::bind(host, port); auto x = TcpListener::bind(host, port);
if (!x) { if (!x) {

View File

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