diff options
author | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-11-22 22:59:32 +0000 |
---|---|---|
committer | MartinNowack <2443641+MartinNowack@users.noreply.github.com> | 2024-01-30 17:30:11 +0000 |
commit | 42662b71a53d2e72481bc46994f44e47c7528a34 (patch) | |
tree | 6165c24d2b9659dff71dc2655c19934b11ecc50d /lib/Core | |
parent | 3e006dbfacd06e12818d97ae5aab1960324b27f9 (diff) | |
download | klee-42662b71a53d2e72481bc46994f44e47c7528a34.tar.gz |
Make Assignment::evaluate be const
Diffstat (limited to 'lib/Core')
-rw-r--r-- | lib/Core/Executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp index c07fa18e..73f994ce 100644 --- a/lib/Core/Executor.cpp +++ b/lib/Core/Executor.cpp @@ -1351,7 +1351,7 @@ Executor::toConstant(ExecutionState &state, ref<klee::Expr> Executor::getValueFromSeeds(std::vector<SeedInfo> &seeds, ref<Expr> e) { assert(!seeds.empty()); - for (auto seed:seeds) { + for (auto const &seed : seeds) { auto value = seed.assignment.evaluate(e); if (isa<ConstantExpr>(value)) return value; |