diff options
author | Mark Spruiell <mes@zeroc.com> | 2007-01-25 23:24:51 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2007-01-25 23:24:51 +0000 |
commit | b9215c68495ce3aa392e68953e7e61f769aa7388 (patch) | |
tree | fbdc1f1ef073c0d13541ff245041f33dec88a34c /cpp/src/Ice/Reference.cpp | |
parent | Added help to IceGrid Admin (diff) | |
download | ice-b9215c68495ce3aa392e68953e7e61f769aa7388.tar.bz2 ice-b9215c68495ce3aa392e68953e7e61f769aa7388.tar.xz ice-b9215c68495ce3aa392e68953e7e61f769aa7388.zip |
minor fixes
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r-- | cpp/src/Ice/Reference.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/Reference.cpp b/cpp/src/Ice/Reference.cpp index 2bd51e2da2d..2367353a48c 100644 --- a/cpp/src/Ice/Reference.cpp +++ b/cpp/src/Ice/Reference.cpp @@ -914,14 +914,14 @@ IceInternal::RoutableReference::changeEndpointSelection(EndpointSelectionType ne } ReferencePtr -IceInternal::RoutableReference::changeThreadPerConnection(bool newValue) const +IceInternal::RoutableReference::changeThreadPerConnection(bool newTpc) const { - if(newValue == _threadPerConnection) + if(newTpc == _threadPerConnection) { return RoutableReferencePtr(const_cast<RoutableReference*>(this)); } RoutableReferencePtr r = RoutableReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this)); - r->_threadPerConnection = newValue; + r->_threadPerConnection = newTpc; return r; } |