summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ReferenceFactory.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2005-09-13 05:27:55 +0000
committerMatthew Newhook <matthew@zeroc.com>2005-09-13 05:27:55 +0000
commit44c9513c931f3a688f40cc7c4e3fa2c4088b1dd6 (patch)
tree284902d3abcddd0e21df2b768b45f59a6024c3c4 /cpp/src/Ice/ReferenceFactory.cpp
parentadded generated subdir. (diff)
downloadice-44c9513c931f3a688f40cc7c4e3fa2c4088b1dd6.tar.bz2
ice-44c9513c931f3a688f40cc7c4e3fa2c4088b1dd6.tar.xz
ice-44c9513c931f3a688f40cc7c4e3fa2c4088b1dd6.zip
http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=460
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r--cpp/src/Ice/ReferenceFactory.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp
index 86ed65d8bf5..8fa20ba6253 100644
--- a/cpp/src/Ice/ReferenceFactory.cpp
+++ b/cpp/src/Ice/ReferenceFactory.cpp
@@ -408,7 +408,7 @@ IceInternal::ReferenceFactory::create(const string& str)
if(beg == string::npos)
{
- return create(ident, Context(), facet, mode, secure, "", routerInfo, locatorInfo, true);
+ return create(ident, _instance->getDefaultContext(), facet, mode, secure, "", routerInfo, locatorInfo, true);
}
vector<EndpointIPtr> endpoints;
@@ -458,7 +458,7 @@ IceInternal::ReferenceFactory::create(const string& str)
}
}
- return create(ident, Context(), facet, mode, secure, endpoints, routerInfo, true);
+ return create(ident, _instance->getDefaultContext(), facet, mode, secure, endpoints, routerInfo, true);
break;
}
case '@':
@@ -497,7 +497,8 @@ IceInternal::ReferenceFactory::create(const string& str)
ex.str = str;
throw ex;
}
- return create(ident, Context(), facet, mode, secure, adapter, routerInfo, locatorInfo, true);
+ return create(ident, _instance->getDefaultContext(), facet, mode, secure, adapter, routerInfo,
+ locatorInfo, true);
break;
}
default:
@@ -567,12 +568,13 @@ IceInternal::ReferenceFactory::create(const Identity& ident, BasicStream* s)
EndpointIPtr endpoint = _instance->endpointFactoryManager()->read(s);
endpoints.push_back(endpoint);
}
- return create(ident, Context(), facet, mode, secure, endpoints, routerInfo, true);
+ return create(ident, _instance->getDefaultContext(), facet, mode, secure, endpoints, routerInfo, true);
}
else
{
s->read(adapterId);
- return create(ident, Context(), facet, mode, secure, adapterId, routerInfo, locatorInfo, true);
+ return create(ident, _instance->getDefaultContext(), facet, mode, secure, adapterId, routerInfo,
+ locatorInfo, true);
}
}