summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/EvictorIteratorI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Freeze/EvictorIteratorI.cpp')
-rwxr-xr-x[-rw-r--r--]cpp/src/Freeze/EvictorIteratorI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Freeze/EvictorIteratorI.cpp b/cpp/src/Freeze/EvictorIteratorI.cpp
index 978747ef7f0..f28cf805f28 100644..100755
--- a/cpp/src/Freeze/EvictorIteratorI.cpp
+++ b/cpp/src/Freeze/EvictorIteratorI.cpp
@@ -60,15 +60,15 @@ Freeze::EvictorIteratorI::next()
vector<Identity>::const_iterator
Freeze::EvictorIteratorI::nextBatch()
{
- DeactivateController::Guard
- deactivateGuard(_store->evictor()->deactivateController());
-
_batch.clear();
if(!_more)
{
return _batch.end();
}
+
+ DeactivateController::Guard
+ deactivateGuard(_store->evictor()->deactivateController());
Key firstKey = _key;