summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Reference.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Reference.cpp')
-rw-r--r--cpp/src/Ice/Reference.cpp6
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;
}