Skip to content

Commit d58fd18

Browse files
committed
Silence the linter on assert in irep.h
Using invariant.h would drag in a number of additional headers into almost every file thus it seems preferable to maintain the assert here.
1 parent 3d64070 commit d58fd18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/irep.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class irept
121121
{
122122
if(data!=&empty_d)
123123
{
124+
// NOLINTNEXTLINE(build/deprecated)
124125
assert(data->ref_count!=0);
125126
data->ref_count++;
126127
#ifdef IREP_DEBUG

0 commit comments

Comments
 (0)