summaryrefslogtreecommitdiff
path: root/cpp/src/slice2freeze/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2freeze/Main.cpp')
-rw-r--r--cpp/src/slice2freeze/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp
index a419d90b56e..5e5d9d51a17 100644
--- a/cpp/src/slice2freeze/Main.cpp
+++ b/cpp/src/slice2freeze/Main.cpp
@@ -214,7 +214,7 @@ writeDict(const string& n, UnitPtr& unit, const Dict& dict, Output& H, Output& C
C << nl << "IceInternal::Stream keyStream(instance);";
writeMarshalUnmarshalCode(C, keyType, "key", "keyStream", true);
C << nl << "IceInternal::Stream valueStream(instance);";
- writeMarshalUnmarshalCode(C, keyType, "key", "valueStream", true);
+ writeMarshalUnmarshalCode(C, keyType, "value", "valueStream", true);
C << nl << "_db->put(keyStream.b, valueStream.b);";
C << eb;
C << sp << nl << typeToString(valueType) << nl << absolute << "::get(" << inputTypeToString(keyType)