summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2004-02-16 00:16:34 +0000
committerMarc Laukien <marc@zeroc.com>2004-02-16 00:16:34 +0000
commit3b7df2af3406848c1db552f6ae67d6ecd8e0b26d (patch)
tree51001bcd1613b27c1b62f05992040f077c32e67d /cpp/src
parentmore AMI stuff (diff)
downloadice-3b7df2af3406848c1db552f6ae67d6ecd8e0b26d.tar.bz2
ice-3b7df2af3406848c1db552f6ae67d6ecd8e0b26d.tar.xz
ice-3b7df2af3406848c1db552f6ae67d6ecd8e0b26d.zip
more AMI
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 4a841a96562..f28ba7ba16f 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -3107,9 +3107,6 @@ Slice::Gen::ImplVisitor::visitClassDefStart(const ClassDefPtr& p)
OperationList ops = p->operations();
OperationList::const_iterator r;
- //
- // Operations
- //
for(r = ops.begin(); r != ops.end(); ++r)
{
OperationPtr op = (*r);
@@ -3279,9 +3276,6 @@ Slice::Gen::ImplVisitor::visitClassDefStart(const ClassDefPtr& p)
C << ")" << (nonmutating ? " const" : "");
C << sb;
- //
- // Return value
- //
if(ret)
{
writeReturn(C, ret);
@@ -3411,8 +3405,8 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
H << sp;
H << nl << "virtual void __response(bool);";
H << eb << ';';
- H << sp << nl << "typedef ::IceUtil::Handle< " << classScopedAMI << '_' << name << "> "
- << classNameAMI << '_' << name << "Ptr;";
+ H << sp << nl << "typedef ::IceUtil::Handle< " << classScopedAMI << '_' << name << "> " << classNameAMI
+ << '_' << name << "Ptr;";
C << sp << nl << "void" << nl << classScopedAMI.substr(2) << '_' << name << "::__invoke" << spar
<< paramsDeclInvoke << epar;
@@ -3420,8 +3414,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
C << nl << "try";
C << sb;
C << nl << "static const ::std::string __operation(\"" << p->name() << "\");";
- C << nl << "__prepare(__operation, " << "static_cast< ::Ice::OperationMode>(" << p->mode()
- << "), __ctx);";
+ C << nl << "__prepare(__operation, " << "static_cast< ::Ice::OperationMode>(" << p->mode() << "), __ctx);";
writeMarshalCode(C, inParams, 0);
if(p->sendsClasses())
{