diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-05-15 13:46:50 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-05-15 13:46:50 -0230 |
commit | 0f8bb307adf2f03ef029b706d1e3dac9a2f56974 (patch) | |
tree | 21e4ce78d64556311d3aa9cdf559ac78eb05e629 /cpp/src/Freeze/TransactionalEvictorI.cpp | |
parent | Removed nonmutating keyword (diff) | |
download | ice-0f8bb307adf2f03ef029b706d1e3dac9a2f56974.tar.bz2 ice-0f8bb307adf2f03ef029b706d1e3dac9a2f56974.tar.xz ice-0f8bb307adf2f03ef029b706d1e3dac9a2f56974.zip |
Removed Freeze.UseNonmutating
Diffstat (limited to 'cpp/src/Freeze/TransactionalEvictorI.cpp')
-rw-r--r-- | cpp/src/Freeze/TransactionalEvictorI.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Freeze/TransactionalEvictorI.cpp b/cpp/src/Freeze/TransactionalEvictorI.cpp index f9b0a627e89..8f6e725b493 100644 --- a/cpp/src/Freeze/TransactionalEvictorI.cpp +++ b/cpp/src/Freeze/TransactionalEvictorI.cpp @@ -423,8 +423,7 @@ Freeze::TransactionalEvictorI::dispatch(Request& request) int operationAttributes = sample->ice_operationAttributes(current.operation); - bool readOnly = (_useNonmutating && current.mode == Nonmutating) - || (!_useNonmutating && (operationAttributes & 0x1) == 0); + bool readOnly = (operationAttributes & 0x1) == 0; int txMode = (operationAttributes & 0x6) >> 1; |