From 1f0255ab650b59ef8acafb57b23900f7d89046f7 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Tue, 27 Aug 2013 22:03:50 +0200 Subject: Fix constness warnings issued by gcc 4.7 --- include/klee/Expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/klee/Expr.h b/include/klee/Expr.h index 9d170dc5..4bebd521 100644 --- a/include/klee/Expr.h +++ b/include/klee/Expr.h @@ -364,7 +364,7 @@ public: virtual ref rebuild(ref kids[]) const { assert(0 && "rebuild() on ConstantExpr"); - return (Expr*) this; + return const_cast(this); } virtual unsigned computeHash(); -- cgit 1.4.1