Skip to content

Commit ebabdb9

Browse files
authored
Merge pull request #1542 from smowton/smowton/cleanup/sharing-node-assertion
Use INVARIANT rather than assert for sharing-node assertions
2 parents 64d5dd2 + d8e8a68 commit ebabdb9

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)