mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
replace KJ_ASSERT with LASSERT
inadvertently reintroduced KJ_ASSERT with recent refactor. It uses __FILE__ which contains path to source, which is fixed with LASSERT
This commit is contained in:
parent
6f366e21cc
commit
a7e6094d01
@ -268,8 +268,8 @@ Http::Http(Laminar &li) :
|
|||||||
|
|
||||||
Http::~Http()
|
Http::~Http()
|
||||||
{
|
{
|
||||||
KJ_ASSERT(logWatchers.size() == 0);
|
LASSERT(logWatchers.size() == 0);
|
||||||
KJ_ASSERT(eventPeers.size() == 0);
|
LASSERT(eventPeers.size() == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
kj::Promise<void> Http::startServer(kj::Timer& timer, kj::Own<kj::ConnectionReceiver>&& listener)
|
kj::Promise<void> Http::startServer(kj::Timer& timer, kj::Own<kj::ConnectionReceiver>&& listener)
|
||||||
|
Loading…
Reference in New Issue
Block a user