summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-04-10 11:52:28 +0200
committerJose <jose@zeroc.com>2017-04-10 11:52:28 +0200
commitff85ad10acbd3ef24be25ad333de7cbf2880ff71 (patch)
treefeb950f850905aca0aa9f1a6e2a0c1bb4c759516 /cpp/src/slice2cpp/Gen.cpp
parentFixed signature of IceBox Service factory function in C++11 (diff)
downloadice-ff85ad10acbd3ef24be25ad333de7cbf2880ff71.tar.bz2
ice-ff85ad10acbd3ef24be25ad333de7cbf2880ff71.tar.xz
ice-ff85ad10acbd3ef24be25ad333de7cbf2880ff71.zip
Fix (ICE-7762) - Change dispatch bool return value
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index b09983d0f45..c8bd53530e6 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -3081,12 +3081,12 @@ Slice::Gen::ObjectVisitor::visitOperation(const OperationPtr& p)
{
C << nl << "inS.writeEmptyParams();";
}
- C << nl << "return false;";
+ C << nl << "return true;";
}
else
{
C << nl << "this->" << name << "_async" << argsAMD << ';';
- C << nl << "return true;";
+ C << nl << "return false;";
}
C << eb;
}
@@ -7144,7 +7144,7 @@ Slice::Gen::Cpp11InterfaceVisitor::visitOperation(const OperationPtr& p)
C << nl << "inS.writeEmptyParams();";
}
}
- C << nl << "return false;";
+ C << nl << "return true;";
}
else
{
@@ -7164,7 +7164,7 @@ Slice::Gen::Cpp11InterfaceVisitor::visitOperation(const OperationPtr& p)
C << eb << ';';
}
C << nl << "this->" << opName << spar << args << epar << ';';
- C << nl << "return true;";
+ C << nl << "return false;";
}
C << eb;
}