diff options
Diffstat (limited to 'src/expr/node_self_iterator.h')
-rw-r--r-- | src/expr/node_self_iterator.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/expr/node_self_iterator.h b/src/expr/node_self_iterator.h index 7e0478acc..79df7691c 100644 --- a/src/expr/node_self_iterator.h +++ b/src/expr/node_self_iterator.h @@ -21,7 +21,7 @@ #include <iterator> -#include "base/cvc4_assert.h" +#include "base/check.h" #include "expr/node.h" namespace CVC4 { @@ -53,12 +53,12 @@ public: };/* class NodeSelfIterator */ inline NodeSelfIterator NodeSelfIterator::self(TNode n) { - Assert(!n.isNull(), "Self-iteration over null nodes not permitted."); + Assert(!n.isNull()) << "Self-iteration over null nodes not permitted."; return NodeSelfIterator(n); } inline NodeSelfIterator NodeSelfIterator::selfEnd(TNode n) { - Assert(!n.isNull(), "Self-iteration over null nodes not permitted."); + Assert(!n.isNull()) << "Self-iteration over null nodes not permitted."; return NodeSelfIterator(n.end()); } @@ -70,13 +70,13 @@ inline NodeSelfIterator::NodeSelfIterator() : inline NodeSelfIterator::NodeSelfIterator(Node node) : d_node(node), d_child() { - Assert(!node.isNull(), "Self-iteration over null nodes not permitted."); + Assert(!node.isNull()) << "Self-iteration over null nodes not permitted."; } inline NodeSelfIterator::NodeSelfIterator(TNode node) : d_node(node), d_child() { - Assert(!node.isNull(), "Self-iteration over null nodes not permitted."); + Assert(!node.isNull()) << "Self-iteration over null nodes not permitted."; } inline NodeSelfIterator::NodeSelfIterator(const NodeSelfIterator& i) : |