Skip to content

Commit

Permalink
replace KJ_ASSERT with LASSERT
Browse files Browse the repository at this point in the history
inadvertently reintroduced KJ_ASSERT with recent refactor.
It uses __FILE__ which contains path to source, which is
fixed with LASSERT
  • Loading branch information
ohwgiles committed Jan 2, 2020
1 parent 6f366e2 commit a7e6094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a7e6094

Please sign in to comment.