diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-03 15:27:26 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-03 15:27:26 +0000 |
commit | 0ee42f51371af4a880c5fe557d320a5b46b0c1ff (patch) | |
tree | 3ddb24902b9ace67ba6b6b80e50ceb75b4634644 /cpp/src | |
parent | fixes (diff) | |
download | ice-0ee42f51371af4a880c5fe557d320a5b46b0c1ff.tar.bz2 ice-0ee42f51371af4a880c5fe557d320a5b46b0c1ff.tar.xz ice-0ee42f51371af4a880c5fe557d320a5b46b0c1ff.zip |
fix for STLport
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/ObjectAdapterI.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/Ice/ObjectAdapterI.cpp b/cpp/src/Ice/ObjectAdapterI.cpp index 139a37e61d4..8dfc02da728 100644 --- a/cpp/src/Ice/ObjectAdapterI.cpp +++ b/cpp/src/Ice/ObjectAdapterI.cpp @@ -87,7 +87,7 @@ Ice::ObjectAdapterI::deactivate() } void -Ice::ObjectAdapterI::add(const ObjectPtr& object, const string& identity) +Ice::ObjectAdapterI::add(const ObjectPtr& object, const string& ident) { JTCSyncT<JTCMutex> sync(*this); @@ -96,7 +96,7 @@ Ice::ObjectAdapterI::add(const ObjectPtr& object, const string& identity) throw ObjectAdapterDeactivatedException(__FILE__, __LINE__); } - _objects.insert(make_pair(identity, object)); + _objects.insert(make_pair(ident, object)); } void @@ -125,7 +125,7 @@ Ice::ObjectAdapterI::addTemporary(const ObjectPtr& object) } void -Ice::ObjectAdapterI::remove(const string& identity) +Ice::ObjectAdapterI::remove(const string& ident) { JTCSyncT<JTCMutex> sync(*this); @@ -134,7 +134,7 @@ Ice::ObjectAdapterI::remove(const string& identity) throw ObjectAdapterDeactivatedException(__FILE__, __LINE__); } - _objects.erase(identity); + _objects.erase(ident); } void @@ -152,11 +152,11 @@ Ice::ObjectAdapterI::getObjectLocator() } ObjectPtr -Ice::ObjectAdapterI::identityToObject(const string& identity) +Ice::ObjectAdapterI::identityToObject(const string& ident) { JTCSyncT<JTCMutex> sync(*this); - map<string, ObjectPtr>::const_iterator p = _objects.find(identity); + map<string, ObjectPtr>::const_iterator p = _objects.find(ident); if (p == _objects.end()) { return 0; @@ -229,7 +229,7 @@ Ice::ObjectAdapterI::objectToProxy(const ObjectPtr& object) } ObjectPrx -Ice::ObjectAdapterI::identityToProxy(const string& identity) +Ice::ObjectAdapterI::identityToProxy(const string& ident) { JTCSyncT<JTCMutex> sync(*this); @@ -242,7 +242,7 @@ Ice::ObjectAdapterI::identityToProxy(const string& identity) transform(_collectorFactories.begin(), _collectorFactories.end(), back_inserter(endpoints), constMemFun(&CollectorFactory::endpoint)); - ReferencePtr reference = new Reference(_instance, identity, endpoints, endpoints); + ReferencePtr reference = new Reference(_instance, ident, endpoints, endpoints); return _instance->proxyFactory()->referenceToProxy(reference); } |