diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-05-30 13:18:35 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-05-30 13:18:35 +0000 |
commit | cd8abbb04a79b0d93f34742c49b06607e4e989f7 (patch) | |
tree | fabe04903dac6bd3ecf2ac6f3248ab5c22300fa7 /cpp/src/Freeze/EvictorI.h | |
parent | fix problem with possible use of uninitialized local variable (diff) | |
download | ice-cd8abbb04a79b0d93f34742c49b06607e4e989f7.tar.bz2 ice-cd8abbb04a79b0d93f34742c49b06607e4e989f7.tar.xz ice-cd8abbb04a79b0d93f34742c49b06607e4e989f7.zip |
Removed transactional evictor context
Diffstat (limited to 'cpp/src/Freeze/EvictorI.h')
-rw-r--r-- | cpp/src/Freeze/EvictorI.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Freeze/EvictorI.h b/cpp/src/Freeze/EvictorI.h index c27b51af34d..6cc8c9320f8 100644 --- a/cpp/src/Freeze/EvictorI.h +++ b/cpp/src/Freeze/EvictorI.h @@ -44,7 +44,7 @@ public: class Guard { public: - Guard(DeactivateController&); + Guard(const DeactivateController&); ~Guard(); private: @@ -81,7 +81,7 @@ class EvictorIBase : public virtual Evictor, public IceUtil::Monitor<IceUtil::Mu { public: - virtual DbTxn* beforeQuery() = 0; + virtual TransactionIPtr beforeQuery() = 0; virtual void setSize(Ice::Int); virtual Ice::Int getSize(); @@ -165,7 +165,7 @@ public: { DeactivateController::Guard deactivateGuard(_deactivateController); - DbTxn* tx = beforeQuery(); + TransactionIPtr tx = beforeQuery(); return new EvictorIteratorI(findStore(facet, false), tx, batchSize); } |