diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-11-08 00:45:31 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-11-08 00:45:31 +0000 |
commit | a456b75c13b4da453358ccb194469337009de075 (patch) | |
tree | 8c7122f74febc9a60cd68f2cf86ad7874f94cddd /cpp/src/slice2freeze/Main.cpp | |
parent | Implemented enhancement 415 (Freeze Map compare functors) (diff) | |
download | ice-a456b75c13b4da453358ccb194469337009de075.tar.bz2 ice-a456b75c13b4da453358ccb194469337009de075.tar.xz ice-a456b75c13b4da453358ccb194469337009de075.zip |
Fixed GCC4.0.1 build
Diffstat (limited to 'cpp/src/slice2freeze/Main.cpp')
-rw-r--r-- | cpp/src/slice2freeze/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp index 6900e89d959..16973369a8b 100644 --- a/cpp/src/slice2freeze/Main.cpp +++ b/cpp/src/slice2freeze/Main.cpp @@ -157,7 +157,7 @@ getCompare(const T& t, const string& keyType) { if(t.userCompare == "") { - return "std::less<" + keyType + ">"; + return "std::less< " + keyType + ">"; } else { @@ -271,7 +271,7 @@ writeDictWithIndicesH(const string& name, const Dict& dict, { string compare = getCompare(dict, typeToString(keyType)); - string templateParams = string("<") + typeToString(keyType) + ", " + string templateParams = string("< ") + typeToString(keyType) + ", " + typeToString(valueType) + ", " + name + "KeyCodec, " + name + "ValueCodec, " + compare + " >"; @@ -449,7 +449,7 @@ writeDictWithIndicesC(const string& name, const string& absolute, const Dict& di { string compare = getCompare(dict, typeToString(keyType)); - string templateParams = string("<") + typeToString(keyType) + ", " + string templateParams = string("< ") + typeToString(keyType) + ", " + typeToString(valueType) + ", " + name + "KeyCodec, " + name + "ValueCodec, " + compare + " >"; |