summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-10-13 18:10:56 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-10-13 18:10:56 +0000
commit3072644e932ab7adf4a87d5ff19e05fe4a03fe49 (patch)
treee87abb1f30621293480a02e81418049658d751f2 /cpp/src/IceGrid/NodeI.cpp
parentremoving IceGrid/PerfTypes (diff)
downloadice-3072644e932ab7adf4a87d5ff19e05fe4a03fe49.tar.bz2
ice-3072644e932ab7adf4a87d5ff19e05fe4a03fe49.tar.xz
ice-3072644e932ab7adf4a87d5ff19e05fe4a03fe49.zip
Fix
Diffstat (limited to 'cpp/src/IceGrid/NodeI.cpp')
-rw-r--r--cpp/src/IceGrid/NodeI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/NodeI.cpp b/cpp/src/IceGrid/NodeI.cpp
index 1f5d6b4fd18..119fe61a7b8 100644
--- a/cpp/src/IceGrid/NodeI.cpp
+++ b/cpp/src/IceGrid/NodeI.cpp
@@ -786,7 +786,8 @@ NodeI::addServer(const ServerIPtr& server)
map<string, set<ServerIPtr> >::iterator p = _serversByApplication.find(server->getApplication());
if(p == _serversByApplication.end())
{
- p = _serversByApplication.insert(p, make_pair(server->getApplication(), set<ServerIPtr>()));
+ map<string, set<ServerIPtr> >::value_type v(server->getApplication(), set<ServerIPtr>());
+ p = _serversByApplication.insert(p, v);
}
p->second.insert(server);
}