diff options
author | Jose <jose@zeroc.com> | 2017-04-10 11:52:28 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-10 11:52:28 +0200 |
commit | ff85ad10acbd3ef24be25ad333de7cbf2880ff71 (patch) | |
tree | feb950f850905aca0aa9f1a6e2a0c1bb4c759516 /cpp/src/slice2cpp | |
parent | Fixed signature of IceBox Service factory function in C++11 (diff) | |
download | ice-ff85ad10acbd3ef24be25ad333de7cbf2880ff71.tar.bz2 ice-ff85ad10acbd3ef24be25ad333de7cbf2880ff71.tar.xz ice-ff85ad10acbd3ef24be25ad333de7cbf2880ff71.zip |
Fix (ICE-7762) - Change dispatch bool return value
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 8 |
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; } |