summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
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;
}