summaryrefslogtreecommitdiff
path: root/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
commit4a362885479d9d8de7d922db60ca220c537afa11 (patch)
treecae7eeb5a43f87b5e5fce41a0e46f79c01ec56ea /cpp/rubygen/templates/InvocationVisitor.rb
parent9ef0c3dc8bc5ef4af668a3c19f8e254fb5e01ada (diff)
downloadqpid-python-4a362885479d9d8de7d922db60ca220c537afa11.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/qpid@568517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/templates/InvocationVisitor.rb')
-rw-r--r--cpp/rubygen/templates/InvocationVisitor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/rubygen/templates/InvocationVisitor.rb b/cpp/rubygen/templates/InvocationVisitor.rb
index f3ac03ece2..7017872176 100644
--- a/cpp/rubygen/templates/InvocationVisitor.rb
+++ b/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; }"