From d8e8a68d4b0f370a462802924eb0cfeae44fee7f Mon Sep 17 00:00:00 2001 From: Chris Smowton Date: Tue, 31 Oct 2017 14:22:04 +0000 Subject: [PATCH] Use INVARIANT rather than assert for sharing-node assertions --- src/util/sharing_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/sharing_node.h b/src/util/sharing_node.h index 19b41712649..9cec1cd2f3a 100644 --- a/src/util/sharing_node.h +++ b/src/util/sharing_node.h @@ -19,7 +19,7 @@ Author: Daniel Poetzl #include "invariant.h" -#define _sn_assert(b) assert(b) +#define _sn_assert(b) INVARIANT(b, "Sharing-node internal invariant") //#define _sn_assert(b) template