From d6eb4cccbac83fef58e98847178c04bf1b8b0ff2 Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Tue, 17 Jun 2014 17:35:37 -0400 Subject: [PATCH] Another fix for the CASC stuff. --- src/expr/node.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2