summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/EvictorI.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-08 18:52:08 +0200
committerJose <jose@zeroc.com>2012-08-08 18:52:08 +0200
commit0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545 (patch)
tree8067c6695cc5e9672582a904409846e38ffba593 /cpp/src/Freeze/EvictorI.h
parentFixed python & ruby compilation error caused by OutputStream::format removal (diff)
downloadice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.tar.bz2
ice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.tar.xz
ice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.zip
remove VC6 support
Diffstat (limited to 'cpp/src/Freeze/EvictorI.h')
-rwxr-xr-xcpp/src/Freeze/EvictorI.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/cpp/src/Freeze/EvictorI.h b/cpp/src/Freeze/EvictorI.h
index 5a1ca1f55af..eb42dbb5951 100755
--- a/cpp/src/Freeze/EvictorI.h
+++ b/cpp/src/Freeze/EvictorI.h
@@ -218,12 +218,7 @@ protected:
facetType = ft->second;
}
ObjectStore<T>* store = new ObjectStore<T>(facet, facetType,_createDb, this, storeIndices, populateEmptyIndices);
-
-#if (defined(_MSC_VER) && (_MSC_VER < 1300))
- _storeMap.insert(StoreMap::value_type(facet, store));
-#else
_storeMap.insert(typename StoreMap::value_type(facet, store));
-#endif
}
}
@@ -234,11 +229,8 @@ protected:
{
facet = "";
}
-#if (defined(_MSC_VER) && (_MSC_VER < 1300))
- std::pair<StoreMap::iterator, bool> ir =
- _storeMap.insert(StoreMap::value_type(facet, 0));
-#elif (defined(_MSC_VER) && (_MSC_VER >= 1600))
- std::pair<typename StoreMap::iterator, bool> ir =
+#if (defined(_MSC_VER) && (_MSC_VER >= 1600))
+ std::pair<typename StoreMap::iterator, bool> ir =
_storeMap.insert(typename StoreMap::value_type(facet, nullptr));
#else
std::pair<typename StoreMap::iterator, bool> ir =
@@ -279,12 +271,7 @@ protected:
facetType = q->second;
}
os = new ObjectStore<T>(facet, facetType, true, this);
-
-#if (defined(_MSC_VER) && (_MSC_VER < 1300))
- _storeMap.insert(StoreMap::value_type(facet, os));
-#else
_storeMap.insert(typename StoreMap::value_type(facet, os));
-#endif
}
return os;
}