summaryrefslogtreecommitdiff
path: root/qpid/cpp/gentools/templ.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/gentools/templ.cpp')
-rw-r--r--qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl7
-rw-r--r--qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl2
2 files changed, 9 insertions, 0 deletions
diff --git a/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl b/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl
index be8dc2a6b3..06ef88c84e 100644
--- a/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl
+++ b/qpid/cpp/gentools/templ.cpp/AMQP_ServerOperations.h.tmpl
@@ -36,6 +36,13 @@ namespace framing {
class MethodContext;
+class Invocable
+{
+protected:
+ Invocable() {}
+ virtual ~Invocable() {}
+};
+
class AMQP_ServerOperations
{
protected:
diff --git a/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl b/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
index 2e1b2ed482..093a5ffe90 100644
--- a/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
+++ b/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
@@ -100,6 +100,8 @@ ${mb_constructor_with_initializers}
${mb_server_operation_invoke}
+${mb_server_operation_invoke2}
+
}; // class ${CLASS}${METHOD}Body
${version_namespace_end}