about summary refs log tree commit diff homepage
path: root/lib/Core/Searcher.cpp
diff options
context:
space:
mode:
authorMartin Nowack <martin@se.inf.tu-dresden.de>2016-03-22 16:17:24 +0100
committerMartin Nowack <martin@se.inf.tu-dresden.de>2016-07-08 21:56:28 +0200
commit07632e75e21e3c61f1ab46f76618cb1b807bd6c3 (patch)
treefe18abf859f4b045589b4c13ef95f3435d17450b /lib/Core/Searcher.cpp
parent078eac2264f8d80961872f77c1925c997a60ef9b (diff)
downloadklee-07632e75e21e3c61f1ab46f76618cb1b807bd6c3.tar.gz
IterativeDeepeningTimeSearcher: Fix using wrong iterator
Diffstat (limited to 'lib/Core/Searcher.cpp')
-rw-r--r--lib/Core/Searcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Searcher.cpp b/lib/Core/Searcher.cpp
index cbb88727..299bb89d 100644
--- a/lib/Core/Searcher.cpp
+++ b/lib/Core/Searcher.cpp
@@ -566,7 +566,7 @@ void IterativeDeepeningTimeSearcher::update(ExecutionState *current,
       ExecutionState *es = *it;
       std::set<ExecutionState*>::const_iterator it2 = pausedStates.find(es);
       if (it2 != pausedStates.end()) {
-        pausedStates.erase(it);
+        pausedStates.erase(it2);
         alt.erase(alt.find(es));
       }
     }