1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:18:11 +00:00

Everywhere: Prefer VERIFY over assert()

This commit is contained in:
Dan Klishch 2023-11-18 15:01:26 -05:00 committed by Tim Flynn
parent ef9bfe3499
commit 3e43d15440
4 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@ static void prioritize_nodes(Node& start, NodeMap& node_map, NodeStack& stack, b
// chains, this function does not call itself recursively. Instead, the recursive
// algorithm is implemented on a provided stack.
assert(stack.is_empty());
VERIFY(stack.is_empty());
stack.append(start);
while (!stack.is_empty()) {