Skip to content

Commit d8e8a68

Browse files
committed
Use INVARIANT rather than assert for sharing-node assertions
1 parent 64d5dd2 commit d8e8a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/sharing_node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Author: Daniel Poetzl
1919

2020
#include "invariant.h"
2121

22-
#define _sn_assert(b) assert(b)
22+
#define _sn_assert(b) INVARIANT(b, "Sharing-node internal invariant")
2323
//#define _sn_assert(b)
2424

2525
template <class T>

0 commit comments

Comments
 (0)