diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2014-01-17 20:58:18 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2014-01-17 20:58:18 +0000 |
| commit | 2bf165109a795059f034e67429f6eec229dccc08 (patch) | |
| tree | f2de6ed4033c07e02f55d43d7c8a8c3ddd03d5a8 /cpp/src/qpid/framing/ProtocolVersion.h | |
| parent | 70168557eba3a026566e6f2c6cb44f2f7efb7ec0 (diff) | |
| download | qpid-python-2bf165109a795059f034e67429f6eec229dccc08.tar.gz | |
QPID-5488: Fix Amqp protocol version printing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559251 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/ProtocolVersion.h')
| -rw-r--r-- | cpp/src/qpid/framing/ProtocolVersion.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/framing/ProtocolVersion.h b/cpp/src/qpid/framing/ProtocolVersion.h index 309e543516..92580baf1a 100644 --- a/cpp/src/qpid/framing/ProtocolVersion.h +++ b/cpp/src/qpid/framing/ProtocolVersion.h @@ -54,10 +54,10 @@ public: QPID_COMMON_EXTERN bool operator==(ProtocolVersion p) const; QPID_COMMON_INLINE_EXTERN bool operator!=(ProtocolVersion p) const { return ! (*this == p); } - QPID_COMMON_EXTERN static uint8_t AMQP; - QPID_COMMON_EXTERN static uint8_t LEGACY_AMQP; - QPID_COMMON_EXTERN static uint8_t TLS; - QPID_COMMON_EXTERN static uint8_t SASL; + QPID_COMMON_EXTERN static const uint8_t AMQP; + QPID_COMMON_EXTERN static const uint8_t LEGACY_AMQP; + QPID_COMMON_EXTERN static const uint8_t TLS; + QPID_COMMON_EXTERN static const uint8_t SASL; }; } // namespace framing |
