mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
remove unnecessary default parameter
This commit is contained in:
parent
eda906b805
commit
c12fb3f030
@ -380,13 +380,13 @@ Server::Server(LaminarInterface& li, kj::StringPtr rpcBindAddress,
|
||||
tasks(*this)
|
||||
{
|
||||
// RPC task
|
||||
tasks.add(ioContext.provider->getNetwork().parseAddress(rpcBindAddress, 0)
|
||||
tasks.add(ioContext.provider->getNetwork().parseAddress(rpcBindAddress)
|
||||
.then([this](kj::Own<kj::NetworkAddress>&& addr) {
|
||||
acceptRpcClient(addr->listen());
|
||||
}));
|
||||
|
||||
// HTTP task
|
||||
tasks.add(ioContext.provider->getNetwork().parseAddress(httpBindAddress, 0)
|
||||
tasks.add(ioContext.provider->getNetwork().parseAddress(httpBindAddress)
|
||||
.then([this](kj::Own<kj::NetworkAddress>&& addr) {
|
||||
acceptHttpClient(addr->listen());
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user