summaryrefslogtreecommitdiff
path: root/gentools/templ.cpp/MethodBodyClass.h.tmpl
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2007-01-16 13:09:50 +0000
committerKim van der Riet <kpvdr@apache.org>2007-01-16 13:09:50 +0000
commitee3afb3a36a707460f6c6bf3cd0b343e3e28a296 (patch)
treedd43d45991c3ae50b7f7b0d5ee8e6d554279c926 /gentools/templ.cpp/MethodBodyClass.h.tmpl
parent8481cf3fd85c90e0bd465480b27509c273dee056 (diff)
downloadqpid-python-ee3afb3a36a707460f6c6bf3cd0b343e3e28a296.tar.gz
Fixed QPID-296 Header guards may not be compliant with C++ standard
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496678 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'gentools/templ.cpp/MethodBodyClass.h.tmpl')
-rw-r--r--gentools/templ.cpp/MethodBodyClass.h.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/gentools/templ.cpp/MethodBodyClass.h.tmpl b/gentools/templ.cpp/MethodBodyClass.h.tmpl
index 1edd938d3d..5819a9cf9c 100644
--- a/gentools/templ.cpp/MethodBodyClass.h.tmpl
+++ b/gentools/templ.cpp/MethodBodyClass.h.tmpl
@@ -26,6 +26,9 @@
%{VLIST} * ${major}-${minor}
*/
+#ifndef qpid_framing_${CLASS}${METHOD}Body__
+#define qpid_framing_${CLASS}${METHOD}Body__
+
#include <string>
#include <sstream>
@@ -34,9 +37,6 @@
#include <Buffer.h>
#include <FieldTable.h>
-#ifndef _${CLASS}${METHOD}Body_
-#define _${CLASS}${METHOD}Body_
-
namespace qpid
{
namespace framing