summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/ObjectRegistryI.cpp
diff options
context:
space:
mode:
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
{