DCHECK/CHECK

Summary: Debug checks should be checks because otherwise tests in release fail

Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1348
This commit is contained in:
Dominik Gleich 2018-04-09 16:00:35 +02:00
parent 1edeb655a6
commit 43ce227eec

View File

@ -186,7 +186,7 @@ class DynamicBitset {
while (k < chunk->low()) {
chunk = chunk->next_;
DCHECK(chunk != nullptr) << "chunk is nullptr";
CHECK(chunk != nullptr) << "chunk is nullptr";
}
k -= chunk->low();
return *chunk;