summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ObjectRegistryI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2003-06-06 15:25:46 +0000
committerBernard Normier <bernard@zeroc.com>2003-06-06 15:25:46 +0000
commit388366020d5b62c58689af3351531a88bb04dbb8 (patch)
treea5fe6d196e1eadd985b9641137f696a1a0335aab /cpp/src/IcePack/ObjectRegistryI.cpp
parentAdded Evictor::saveObject (diff)
downloadice-388366020d5b62c58689af3351531a88bb04dbb8.tar.bz2
ice-388366020d5b62c58689af3351531a88bb04dbb8.tar.xz
ice-388366020d5b62c58689af3351531a88bb04dbb8.zip
Changed the behavior of Freeze::Map::insert and added Freeze::Map::put
Diffstat (limited to 'cpp/src/IcePack/ObjectRegistryI.cpp')
-rw-r--r--cpp/src/IcePack/ObjectRegistryI.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/ObjectRegistryI.cpp b/cpp/src/IcePack/ObjectRegistryI.cpp
index 425352a9197..897484c2d42 100644
--- a/cpp/src/IcePack/ObjectRegistryI.cpp
+++ b/cpp/src/IcePack/ObjectRegistryI.cpp
@@ -42,7 +42,7 @@ IcePack::ObjectRegistryI::add(const ObjectDescription& obj, const Ice::Current&)
//
// Add the object to the object dictionary.
//
- _objects.insert(pair<const Ice::Identity, const ObjectDescription>(id, obj));
+ _objects.put(pair<const Ice::Identity, const ObjectDescription>(id, obj));
//
// Add the object to the interface dictionary.
@@ -61,7 +61,7 @@ IcePack::ObjectRegistryI::add(const ObjectDescription& obj, const Ice::Current&)
if(q == _types.end())
{
- _types.insert(pair<const string, const Ice::ObjectProxySeq>(obj.type, seq));
+ _types.put(pair<const string, const Ice::ObjectProxySeq>(obj.type, seq));
}
else
{