diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Freeze/EvictorI.cpp | 4 | ||||
-rw-r--r-- | cpp/src/IcePack/AdapterRegistryI.cpp | 2 | ||||
-rw-r--r-- | cpp/src/IcePack/NodeRegistryI.cpp | 2 | ||||
-rw-r--r-- | cpp/src/IcePack/ObjectRegistryI.cpp | 4 | ||||
-rw-r--r-- | cpp/src/IcePack/ServerRegistryI.cpp | 2 | ||||
-rw-r--r-- | cpp/src/IceStorm/TopicI.cpp | 2 | ||||
-rw-r--r-- | cpp/src/IceStorm/TopicManagerI.cpp | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/Freeze/EvictorI.cpp b/cpp/src/Freeze/EvictorI.cpp index 317a7d5584e..d7833aa945d 100644 --- a/cpp/src/Freeze/EvictorI.cpp +++ b/cpp/src/Freeze/EvictorI.cpp @@ -150,7 +150,7 @@ Freeze::EvictorI::createObject(const Identity& ident, const ObjectPtr& servant) // // Save the Ice object's initial state and add it to the queue. // - _dict.insert(pair<const Identity, const ObjectRecord>(ident, rec)); + _dict.put(pair<const Identity, const ObjectRecord>(ident, rec)); add(ident, rec); if(_trace >= 1) @@ -447,7 +447,7 @@ Freeze::EvictorI::save(const Identity& ident, const ObjectPtr& servant) element->rec.stats.avgSaveTime = (Long)(element->rec.stats.avgSaveTime * 0.95 + diff * 0.05); } - _dict.insert(pair<const Identity, const ObjectRecord>(ident, element->rec)); + _dict.put(pair<const Identity, const ObjectRecord>(ident, element->rec)); } void diff --git a/cpp/src/IcePack/AdapterRegistryI.cpp b/cpp/src/IcePack/AdapterRegistryI.cpp index 3250017201e..9d5a5ee0c74 100644 --- a/cpp/src/IcePack/AdapterRegistryI.cpp +++ b/cpp/src/IcePack/AdapterRegistryI.cpp @@ -51,7 +51,7 @@ IcePack::AdapterRegistryI::add(const string& id, const AdapterPrx& adapter, cons } throw AdapterExistsException(); } - _dict.insert(pair<const string, const Ice::ObjectPrx>(id, adapter)); + _dict.put(pair<const string, const Ice::ObjectPrx>(id, adapter)); if(_traceLevels->adapterRegistry > 0) { diff --git a/cpp/src/IcePack/NodeRegistryI.cpp b/cpp/src/IcePack/NodeRegistryI.cpp index 4816de9caa9..a035d8167c4 100644 --- a/cpp/src/IcePack/NodeRegistryI.cpp +++ b/cpp/src/IcePack/NodeRegistryI.cpp @@ -74,7 +74,7 @@ IcePack::NodeRegistryI::add(const string& name, const NodePrx& node, const Ice:: } else { - _dict.insert(pair<const string, const Ice::ObjectPrx>(name, node)); + _dict.put(pair<const string, const Ice::ObjectPrx>(name, node)); if(_traceLevels->nodeRegistry > 0) { 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 { diff --git a/cpp/src/IcePack/ServerRegistryI.cpp b/cpp/src/IcePack/ServerRegistryI.cpp index f6e248f1067..dadaf83dabe 100644 --- a/cpp/src/IcePack/ServerRegistryI.cpp +++ b/cpp/src/IcePack/ServerRegistryI.cpp @@ -52,7 +52,7 @@ IcePack::ServerRegistryI::add(const string& name, const ServerPrx& server, const throw ServerExistsException(); } - _dict.insert(pair<const string, const Ice::ObjectPrx>(name, server)); + _dict.put(pair<const string, const Ice::ObjectPrx>(name, server)); if(_traceLevels->serverRegistry > 0) { diff --git a/cpp/src/IceStorm/TopicI.cpp b/cpp/src/IceStorm/TopicI.cpp index 96314b6371e..91b4f4e6894 100644 --- a/cpp/src/IceStorm/TopicI.cpp +++ b/cpp/src/IceStorm/TopicI.cpp @@ -504,7 +504,7 @@ TopicI::link(const TopicPrx& topic, Ice::Int cost, const Ice::Current&) dbInfo.info.theTopic = topic; dbInfo.info.name = name; dbInfo.info.cost = cost; - _links.insert(pair<const Ice::Identity, const LinkDB>(ident, dbInfo)); + _links.put(pair<const Ice::Identity, const LinkDB>(ident, dbInfo)); // // Create the subscriber object and add it to the set of subscribers. diff --git a/cpp/src/IceStorm/TopicManagerI.cpp b/cpp/src/IceStorm/TopicManagerI.cpp index 3ce6d859b26..3eb9a1dd588 100644 --- a/cpp/src/IceStorm/TopicManagerI.cpp +++ b/cpp/src/IceStorm/TopicManagerI.cpp @@ -87,7 +87,7 @@ TopicManagerI::create(const string& name, const Ice::Current&) } installTopic("create", name, true); - _topics.insert(pair<const string, const bool>(name, true)); + _topics.put(pair<const string, const bool>(name, true)); // // The identity is the name of the Topic. |