diff options
author | Bernard Normier <bernard@zeroc.com> | 2004-10-17 17:52:33 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2004-10-17 17:52:33 +0000 |
commit | 4daf6eabf1c0b931f7657f0d08bd57684b52a7c6 (patch) | |
tree | b83e17fc10d874bd1e1ae14084e535b3d736d4fc /cpp/demo/Freeze/bench/Client.cpp | |
parent | fixing Apache 1.x bug that prevented httpd from starting (diff) | |
download | ice-4daf6eabf1c0b931f7657f0d08bd57684b52a7c6.tar.bz2 ice-4daf6eabf1c0b931f7657f0d08bd57684b52a7c6.tar.xz ice-4daf6eabf1c0b931f7657f0d08bd57684b52a7c6.zip |
Fixed VC70 build failure
Diffstat (limited to 'cpp/demo/Freeze/bench/Client.cpp')
-rw-r--r-- | cpp/demo/Freeze/bench/Client.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/demo/Freeze/bench/Client.cpp b/cpp/demo/Freeze/bench/Client.cpp index 19d57a514a9..01849dea612 100644 --- a/cpp/demo/Freeze/bench/Client.cpp +++ b/cpp/demo/Freeze/bench/Client.cpp @@ -168,7 +168,7 @@ private: TransactionHolder txHolder(_connection); for(i = 0; i < _repetitions; ++i) { -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) m.put(T::value_type(i, i)); #else m.put(typename T::value_type(i, i)); @@ -271,7 +271,7 @@ private: s2.s = os.str(); s2.s1 = s1; -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) m.put(T::value_type(s1, s2)); #else m.put(typename T::value_type(s1, s2)); @@ -352,7 +352,7 @@ private: ostringstream os; os << i; c1->s = os.str(); -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) m.put(T::value_type(s1, c1)); #else m.put(typename T::value_type(s1, c1)); @@ -427,7 +427,7 @@ private: TransactionHolder txHolder(_connection); for(i = 0; i < _repetitions; ++i) { -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) m.put(T::value_type(i, i)); #else m.put(typename T::value_type(i, i)); @@ -723,7 +723,7 @@ TestApp::run(int argc, char* argv[]) cout << "IntIntMap" << endl; -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) { IntIntMap* dummy = 0; IntIntMapTest("IntIntMap", dummy); @@ -733,7 +733,7 @@ TestApp::run(int argc, char* argv[]) #endif cout <<"Struct1Struct2Map" << endl; -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) { Struct1Struct2Map* dummy = 0; Struct1Struct2MapTest("Struct1Struct2Map", dummy); @@ -743,7 +743,7 @@ TestApp::run(int argc, char* argv[]) #endif cout <<"Struct1Class1Map" << endl; -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) { Struct1Class1Map* dummy = 0; Struct1Class1MapTest("Struct1Class1Map", dummy); @@ -760,7 +760,7 @@ TestApp::run(int argc, char* argv[]) cout <<"IntIntMap (read test)" << endl; -#if defined(_MSC_VER) && (_MSC_VER < 1300) +#if defined(_MSC_VER) && (_MSC_VER < 1310) { IntIntMap* dummy = 0; IntIntMapReadTest("IntIntMap", dummy); |