diff options
author | Martin Nowack <martin.nowack@gmail.com> | 2013-08-27 22:03:50 +0200 |
---|---|---|
committer | Martin Nowack <martin.nowack@gmail.com> | 2013-08-28 08:54:50 +0200 |
commit | 1f0255ab650b59ef8acafb57b23900f7d89046f7 (patch) | |
tree | 9a20cdde76bc3f2fe93cc145c999600ab92b2786 /include | |
parent | 45fa391391b57beecefd2cbcf3ce243d8aaea4f7 (diff) | |
download | klee-1f0255ab650b59ef8acafb57b23900f7d89046f7.tar.gz |
Fix constness warnings issued by gcc 4.7
Diffstat (limited to 'include')
-rw-r--r-- | include/klee/Expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Expr> rebuild(ref<Expr> kids[]) const { assert(0 && "rebuild() on ConstantExpr"); - return (Expr*) this; + return const_cast<ConstantExpr*>(this); } virtual unsigned computeHash(); |