summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-08-07 10:40:13 -0230
committerDwayne Boone <dwayne@zeroc.com>2008-08-07 10:40:13 -0230
commit9083014e5f647c23157ca39e3d65c5effab247c5 (patch)
treeb6bb5a24e906cf2764c185b0e0ba10143d773b4c /cpp/src
parentMerge branch 'R3_3_branch' of ssh://cvs.wpb.zeroc.com/home/git/ice into R3_3_... (diff)
downloadice-9083014e5f647c23157ca39e3d65c5effab247c5.tar.bz2
ice-9083014e5f647c23157ca39e3d65c5effab247c5.tar.xz
ice-9083014e5f647c23157ca39e3d65c5effab247c5.zip
Fixed bug in generated code for C# when struct used as a dictionary key
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2cs/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index 68267e9138c..8313f696b68 100644
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -3692,7 +3692,7 @@ Slice::Gen::HelperVisitor::visitDictionary(const DictionaryPtr& p)
{
if(isValueType(key))
{
- _out << nl << "v__ = new " << typeToString(key) << "();";
+ _out << nl << "k__ = new " << typeToString(key) << "();";
}
else
{