1
0
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:
Oliver Giles 2020-01-02 08:16:55 +02:00
parent 6f366e21cc
commit a7e6094d01

View File

@ -268,8 +268,8 @@ Http::Http(Laminar &li) :
Http::~Http()
{
KJ_ASSERT(logWatchers.size() == 0);
KJ_ASSERT(eventPeers.size() == 0);
LASSERT(logWatchers.size() == 0);
LASSERT(eventPeers.size() == 0);
}
kj::Promise<void> Http::startServer(kj::Timer& timer, kj::Own<kj::ConnectionReceiver>&& listener)