summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-22 15:44:21 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-22 15:44:21 +0000
commit47327141aada621537d7bdf08919777aff7bbbd2 (patch)
treee533e93d871674811453e058def7b934f672d98a /cpp/src/IceGrid/ObjectCache.cpp
parentmake depend (diff)
downloadice-47327141aada621537d7bdf08919777aff7bbbd2.tar.bz2
ice-47327141aada621537d7bdf08919777aff7bbbd2.tar.xz
ice-47327141aada621537d7bdf08919777aff7bbbd2.zip
Various fixs for Sun compiles Added Makefile for test/Ice/hold
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.cpp')
-rw-r--r--cpp/src/IceGrid/ObjectCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.cpp b/cpp/src/IceGrid/ObjectCache.cpp
index 92c1c283149..d5f68dc0fa4 100644
--- a/cpp/src/IceGrid/ObjectCache.cpp
+++ b/cpp/src/IceGrid/ObjectCache.cpp
@@ -46,7 +46,7 @@ ObjectCache::add(const string& app, const string& adapterId, const string& endpo
map<string, set<Ice::Identity> >::iterator p = _types.find(entry->getType());
if(p == _types.end())
{
- p = _types.insert(p, make_pair(entry->getType(), set<Ice::Identity>()));
+ p = _types.insert(p, map<string, set<Ice::Identity> >::value_type(entry->getType(), set<Ice::Identity>()));
}
p->second.insert(desc.id);