summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/templates/InvocationVisitor.rb
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-08-22 08:54:54 +0000
committerGordon Sim <gsim@apache.org>2007-08-22 08:54:54 +0000
commitd9a62777ef8eb74e28f38b56cdbc1046f2bb09e2 (patch)
tree3c44411549c94c03ff754700e66cf01e8a59b289 /qpid/cpp/rubygen/templates/InvocationVisitor.rb
parentaf1fa9365f9166e129bbcc44c0706e41c9afa775 (diff)
downloadqpid-python-d9a62777ef8eb74e28f38b56cdbc1046f2bb09e2.tar.gz
Reapply rev 568249 with the changes made to the generator this time, rather than the generated file itself.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@568517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/templates/InvocationVisitor.rb')
-rw-r--r--qpid/cpp/rubygen/templates/InvocationVisitor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/rubygen/templates/InvocationVisitor.rb b/qpid/cpp/rubygen/templates/InvocationVisitor.rb
index f3ac03ece2..7017872176 100644
--- a/qpid/cpp/rubygen/templates/InvocationVisitor.rb
+++ b/qpid/cpp/rubygen/templates/InvocationVisitor.rb
@@ -71,8 +71,8 @@ EOS
}
genl "public:"
indent {
- genl "InvocationVisitor(AMQP_ServerOperations* _ops) : ops(_ops), invocable(0) {}"
- genl "InvocationVisitor(Invocable* _invocable) : ops(0), invocable(_invocable) {}"
+ genl "InvocationVisitor(AMQP_ServerOperations* _ops) : ops(_ops), invocable(0), succeeded(false) {}"
+ genl "InvocationVisitor(Invocable* _invocable) : ops(0), invocable(_invocable), succeeded(false) {}"
genl "const std::string& getResult() const { return result; }"
genl "const bool hasResult() const { return !result.empty(); }"
genl "bool wasHandled() const { return succeeded; }"