Skip to content

Commit 131bb8c

Browse files
committed
Changing assert to invarianten check for cpp lint check
1 parent bbd0db4 commit 131bb8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/expr2c.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@ std::string expr2ct::convert_symbol(const exprt &src, unsigned &precedence)
16021602
get_shorthands(src);
16031603

16041604
entry = shorthands.find(id);
1605-
assert(entry != shorthands.end());
1605+
CHECK_RETURN(entry != shorthands.end());
16061606
}
16071607

16081608
dest = id2string(entry->second);

0 commit comments

Comments
 (0)