summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Cache.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-08-09 14:58:01 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-08-09 14:58:01 +0000
commit3f862089b748741b30e343d2051a4747a3bff2f2 (patch)
tree18d1dde1504e2d510a24f4d55aeee21bfea7c04f /cpp/include/IceUtil/Cache.h
parentfixing bug 1291 (diff)
downloadice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.bz2
ice-3f862089b748741b30e343d2051a4747a3bff2f2.tar.xz
ice-3f862089b748741b30e343d2051a4747a3bff2f2.zip
Borland C++Builder port mass commit
Diffstat (limited to 'cpp/include/IceUtil/Cache.h')
-rw-r--r--cpp/include/IceUtil/Cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/Cache.h b/cpp/include/IceUtil/Cache.h
index d6c9228156d..cd0829402fb 100644
--- a/cpp/include/IceUtil/Cache.h
+++ b/cpp/include/IceUtil/Cache.h
@@ -202,7 +202,7 @@ Cache<Key, Value>::pinImpl(const Key& key, const Handle<Value>& newObj)
std::pair<typename CacheMap::iterator, bool> ir =
#endif
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__BCPLUSPLUS__)
_map.insert(CacheMap::value_type(key, CacheValue(0)));
#else
_map.insert(typename CacheMap::value_type(key, CacheValue(0)));