summaryrefslogtreecommitdiff
path: root/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl')
-rw-r--r--qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl b/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
index aeabd8a256..605b09ac94 100644
--- a/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
+++ b/qpid/cpp/gentools/templ.cpp/MethodBodyClass.h.tmpl
@@ -63,7 +63,7 @@ public:
${mb_constructor_with_initializers}
- ${CLASS}${METHOD}Body(ProtocolVersion version): ${mb_base_class}(version) {}
+ ${CLASS}${METHOD}Body(ProtocolVersion version=ProtocolVersion() ): ${mb_base_class}(version) {}
virtual ~${CLASS}${METHOD}Body() {}
// Attribute get methods