From: Morgan Deters Date: Tue, 17 Jun 2014 21:35:37 +0000 (-0400) Subject: Another fix for the CASC stuff. X-Git-Tag: cvc5-1.0.0~6780 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6eb4cccbac83fef58e98847178c04bf1b8b0ff2;p=cvc5.git Another fix for the CASC stuff. --- diff --git a/src/expr/node.h b/src/expr/node.h index ba139748e..358b7cfcd 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -439,7 +439,7 @@ public: * explicit Expr(Node) constructor---but that dirties the public * interface. */ - inline Expr toExpr(); + inline Expr toExpr() const; /** * Convert an Expr into a Node. @@ -1451,7 +1451,7 @@ NodeTemplate::substitute(Iterator substitutionsBegin, } template -inline Expr NodeTemplate::toExpr() { +inline Expr NodeTemplate::toExpr() const { assertTNodeNotExpired(); return NodeManager::currentNM()->toExpr(*this); }