diff options
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 43af82aeb33..9cb56cc7473 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -3847,7 +3847,7 @@ Slice::Gen::ObjectVisitor::emitOneShotConstructor(const ClassDefPtr& p) C << ',' << nl; } string memberName = fixKwd((*q)->name()); - C << memberName << '(' << "__ice_" << memberName << ')'; + C << memberName << '(' << "__ice_" << (*q)->name() << ')'; } C.dec(); |