diff options
Diffstat (limited to 'cppe/src')
-rw-r--r-- | cppe/src/IceE/Reference.cpp | 13 | ||||
-rw-r--r-- | cppe/src/IceE/Reference.h | 2 |
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 |