mirror of
https://github.com/Mercantec-GHC/h5-projekt-mst.git
synced 2026-08-26 21:27:38 +02:00
fix formatting
This commit is contained in:
parent
1e9740e544
commit
f8412ec21e
@ -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) {
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user