diff options
Diffstat (limited to 'cpp/src/Freeze/EvictorIteratorI.cpp')
-rw-r--r-- | cpp/src/Freeze/EvictorIteratorI.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Freeze/EvictorIteratorI.cpp b/cpp/src/Freeze/EvictorIteratorI.cpp index 66681bb6dec..b2c95977d91 100644 --- a/cpp/src/Freeze/EvictorIteratorI.cpp +++ b/cpp/src/Freeze/EvictorIteratorI.cpp @@ -72,7 +72,8 @@ Freeze::EvictorIteratorI::nextBatch() Key firstKey = _key; - CommunicatorPtr communicator = _store->communicator(); + const CommunicatorPtr& communicator = _store->communicator(); + const EncodingVersion& encoding = _store->encoding(); DbTxn* txn = _tx == 0 ? 0: _tx->dbTxn(); @@ -134,7 +135,7 @@ Freeze::EvictorIteratorI::nextBatch() flags = DB_NEXT; Ice::Identity ident; - ObjectStoreBase::unmarshal(ident, _key, communicator); + ObjectStoreBase::unmarshal(ident, _key, communicator, encoding); if(_batch.size() < _batchSize) { _batch.push_back(ident); |