summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Cache.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-07-19 18:26:38 +0200
committerJose <jose@zeroc.com>2012-07-19 18:26:38 +0200
commitd0994b8115bc70f04b772d21365703a3a106587d (patch)
tree1bb72b16494ab7a14a48035e9bdac02dc82b0585 /cpp/include/IceUtil/Cache.h
parentICE-4782 Generate "#pragma once" for include-guards in generated C++ header f... (diff)
downloadice-d0994b8115bc70f04b772d21365703a3a106587d.tar.bz2
ice-d0994b8115bc70f04b772d21365703a3a106587d.tar.xz
ice-d0994b8115bc70f04b772d21365703a3a106587d.zip
Remove BCC support
Diffstat (limited to 'cpp/include/IceUtil/Cache.h')
-rw-r--r--cpp/include/IceUtil/Cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/IceUtil/Cache.h b/cpp/include/IceUtil/Cache.h
index b0fd325522b..31d6e7cc460 100644
--- a/cpp/include/IceUtil/Cache.h
+++ b/cpp/include/IceUtil/Cache.h
@@ -174,7 +174,7 @@ Cache<Key, Value>::pin(const Key& key, const Handle<Value>& obj)
std::pair<typename CacheMap::iterator, bool> ir =
#endif
-#if defined(_MSC_VER)
+#ifdef _MSC_VER
_map.insert(CacheMap::value_type(key, CacheValue(obj)));
#else
_map.insert(typename CacheMap::value_type(key, CacheValue(obj)));
@@ -228,7 +228,7 @@ Cache<Key, Value>::pinImpl(const Key& key, const Handle<Value>& newObj)
std::pair<typename CacheMap::iterator, bool> ir =
#endif
-#if defined(_MSC_VER) || defined(__BCPLUSPLUS__)
+#if defined(_MSC_VER)
_map.insert(CacheMap::value_type(key, CacheValue(0)));
#else
_map.insert(typename CacheMap::value_type(key, CacheValue(0)));