diff options
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 + " >"; |