about summary refs log tree commit diff homepage
path: root/unittests/Solver/SolverTest.cpp
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2015-02-27 18:12:53 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2015-02-27 18:12:53 +0000
commit35117b9f9273d2465abe56ef11f89ca7477e3d91 (patch)
treeac8250c29aa33eb445af1edb60242e0bd53b1ca5 /unittests/Solver/SolverTest.cpp
parent3bd3789c2009fc9976d6b2ab5d0cb716c3d35dc3 (diff)
parentf049ff3bc04daead8c3bb9f06e89e71e2054c82a (diff)
downloadklee-35117b9f9273d2465abe56ef11f89ca7477e3d91.tar.gz
Merge branch 'ArrayFactory' of https://github.com/holycrap872/klee into holycrap872-ArrayFactory
Diffstat (limited to 'unittests/Solver/SolverTest.cpp')
-rw-r--r--unittests/Solver/SolverTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Solver/SolverTest.cpp b/unittests/Solver/SolverTest.cpp
index 94529d56..d9aa9b56 100644
--- a/unittests/Solver/SolverTest.cpp
+++ b/unittests/Solver/SolverTest.cpp
@@ -46,7 +46,7 @@ void testOperation(Solver &solver,
 
     unsigned size = Expr::getMinBytesForWidth(operandWidth);
     static uint64_t id = 0;
-    Array *array = new Array("arr" + llvm::utostr(++id), size);
+    const Array *array = Array::CreateArray("arr" + llvm::utostr(++id), size);
     symbolicArgs.push_back(Expr::CreateArg(Expr::createTempRead(array, 
                                                                 operandWidth)));
   }