File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ Author: Daniel Kroening, kroening@kroening.com
1313
1414#include < ostream>
1515
16- #include " invariant.h"
1716#include " string2int.h"
1817#include " string_hash.h"
1918#include " irep_hash.h"
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ Author: Daniel Kroening, kroening@kroening.com
1010#ifndef CPROVER_UTIL_IREP_H
1111#define CPROVER_UTIL_IREP_H
1212
13- #include < cassert>
1413#include < string>
1514#include < vector>
1615
1716#include " deprecate.h"
17+ #include " invariant.h"
1818#include " irep_ids.h"
1919
2020#define SHARING
@@ -192,7 +192,7 @@ class irept
192192 if (data!=&empty_d)
193193 {
194194 // NOLINTNEXTLINE(build/deprecated)
195- assert (data->ref_count != 0 );
195+ PRECONDITION (data->ref_count != 0 );
196196 data->ref_count ++;
197197 #ifdef IREP_DEBUG
198198 std::cout << " COPY " << data << " " << data->ref_count << ' \n ' ;
You can’t perform that action at this time.
0 commit comments