summaryrefslogtreecommitdiff
path: root/cppe/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2007-05-02 12:13:39 +0000
committerBenoit Foucher <benoit@zeroc.com>2007-05-02 12:13:39 +0000
commit731ce9edfedfb2e9b7de6579814804fda93cf673 (patch)
treedec23c5ac838e3e380ecd4187be0904d0ba5f501 /cppe/src
parentFixed bug 2176 (diff)
downloadice-731ce9edfedfb2e9b7de6579814804fda93cf673.tar.bz2
ice-731ce9edfedfb2e9b7de6579814804fda93cf673.tar.xz
ice-731ce9edfedfb2e9b7de6579814804fda93cf673.zip
Removed unused changeEndpoints method
Diffstat (limited to 'cppe/src')
-rw-r--r--cppe/src/IceE/Reference.cpp13
-rw-r--r--cppe/src/IceE/Reference.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/cppe/src/IceE/Reference.cpp b/cppe/src/IceE/Reference.cpp
index 89af7f30c86..12940e60d01 100644
--- a/cppe/src/IceE/Reference.cpp
+++ b/cppe/src/IceE/Reference.cpp
@@ -720,19 +720,6 @@ IceInternal::DirectReference::getEndpoints() const
return _endpoints;
}
-DirectReferencePtr
-IceInternal::DirectReference::changeEndpoints(const vector<EndpointPtr>& newEndpoints) const
-{
- if(newEndpoints == _endpoints)
- {
- return DirectReferencePtr(const_cast<DirectReference*>(this));
- }
- DirectReferencePtr r = DirectReferencePtr::dynamicCast(getInstance()->referenceFactory()->copy(this));
- r->_endpoints = newEndpoints;
- r->applyOverrides(r->_endpoints);
- return r;
-}
-
#ifdef ICEE_HAS_LOCATOR
ReferencePtr
diff --git a/cppe/src/IceE/Reference.h b/cppe/src/IceE/Reference.h
index bf6a5152263..feead409383 100644
--- a/cppe/src/IceE/Reference.h
+++ b/cppe/src/IceE/Reference.h
@@ -232,8 +232,6 @@ public:
virtual Type getType() const;
virtual std::vector<EndpointPtr> getEndpoints() const;
- DirectReferencePtr changeEndpoints(const std::vector<EndpointPtr>&) const;
-
#ifdef ICEE_HAS_LOCATOR
virtual ReferencePtr changeLocator(const Ice::LocatorPrx&) const;
#endif