diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-08-07 10:43:21 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-08-07 10:43:21 -0230 |
commit | 0948e4de308d8c265ba62489cc73a0d3bb3619e5 (patch) | |
tree | 14220ac12eab01a67bd2f2fa8b2093917fb86935 /cpp/src/slice2cs/Gen.cpp | |
parent | Fixed bug in generated code for C# when struct used as a dictionary key (diff) | |
download | ice-0948e4de308d8c265ba62489cc73a0d3bb3619e5.tar.bz2 ice-0948e4de308d8c265ba62489cc73a0d3bb3619e5.tar.xz ice-0948e4de308d8c265ba62489cc73a0d3bb3619e5.zip |
Another instance of bad code for struc tkey
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cs/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp index 8313f696b68..a3aa45c4ce9 100644 --- a/cpp/src/slice2cs/Gen.cpp +++ b/cpp/src/slice2cs/Gen.cpp @@ -3766,7 +3766,7 @@ Slice::Gen::HelperVisitor::visitDictionary(const DictionaryPtr& p) { if(isValueType(key)) { - _out << nl << "v__ = new " << typeToString(key) << "();"; + _out << nl << "k__ = new " << typeToString(key) << "();"; } else { |