diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-11-26 09:59:14 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-11-26 09:59:14 +0100 |
commit | f398d07ce25b0f98376f3c89d1c5b4e5e57bf29c (patch) | |
tree | f3a07f51c54b6f290a8daa05a462042eb837d2cf /cpp/src/slice2cpp/Gen.cpp | |
parent | Removed erroneous include statement (diff) | |
download | ice-f398d07ce25b0f98376f3c89d1c5b4e5e57bf29c.tar.bz2 ice-f398d07ce25b0f98376f3c89d1c5b4e5e57bf29c.tar.xz ice-f398d07ce25b0f98376f3c89d1c5b4e5e57bf29c.zip |
Fixed bug 3565: use operation name static
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 84283ab72f5..0d7747e0879 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -5278,7 +5278,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p) C << sb; if(p->returnsData()) { - C << nl << "__prx->__checkTwowayOnly(\"" << p->name() << "\");"; + C << nl << "__prx->__checkTwowayOnly(" << flatName << ");"; } C << nl << "__prepare(__prx, " << flatName << ", " << operationModeToString(p->sendMode()) << ", __ctx);"; writeMarshalCode(C, inParams, 0, StringList(), true); |