about summary refs log tree commit diff homepage
path: root/include/klee/Solver.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/klee/Solver.h')
-rw-r--r--include/klee/Solver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/klee/Solver.h b/include/klee/Solver.h
index a053050d..1ed8c175 100644
--- a/include/klee/Solver.h
+++ b/include/klee/Solver.h
@@ -35,7 +35,7 @@ namespace klee {
 
     /// withFalse - Return a copy of the query with a false expression.
     Query withFalse() const {
-      return Query(constraints, ref<Expr>(0, Expr::Bool));
+      return Query(constraints, ConstantExpr::alloc(0, Expr::Bool));
     }
 
     /// negateExpr - Return a copy of the query with the expression negated.