summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ReferenceFactory.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-06-14 10:44:41 -0230
committerDwayne Boone <dwayne@zeroc.com>2007-06-14 10:44:41 -0230
commit9384d90d200a46c26a22135d4f4e39be78d04ab0 (patch)
tree301242e7633043ec9225e2732a81037f438da9c4 /cpp/src/Ice/ReferenceFactory.cpp
parentFixed bug 2254 (diff)
downloadice-9384d90d200a46c26a22135d4f4e39be78d04ab0.tar.bz2
ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.tar.xz
ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.zip
No longer necessary to expand enpoints in proxies, use same mechanism as for multihomed hosts.
Added some missing .gitignore files.
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r--cpp/src/Ice/ReferenceFactory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp
index 464fe51cc57..ccd7c77e285 100644
--- a/cpp/src/Ice/ReferenceFactory.cpp
+++ b/cpp/src/Ice/ReferenceFactory.cpp
@@ -460,8 +460,7 @@ IceInternal::ReferenceFactory::create(const string& str)
EndpointIPtr endp = _instance->endpointFactoryManager()->create(es, false);
if(endp != 0)
{
- vector<EndpointIPtr> endps = endp->expand(true);
- endpoints.insert(endpoints.end(), endps.begin(), endps.end());
+ endpoints.push_back(endp);
}
else
{