diff options
| author | Kim van der Riet <kpvdr@apache.org> | 2006-11-13 20:26:06 +0000 |
|---|---|---|
| committer | Kim van der Riet <kpvdr@apache.org> | 2006-11-13 20:26:06 +0000 |
| commit | faf7372bfb0a05c435c79d1fcc4f4502a911be77 (patch) | |
| tree | 0d23f1079b9d374d39ec6a8becdc203f86c1b47d /cpp/src/qpid/framing/ProtocolInitiation.h | |
| parent | c9ab372cfac33fee304ce50336174f67c8decbf9 (diff) | |
| download | qpid-python-faf7372bfb0a05c435c79d1fcc4f4502a911be77.tar.gz | |
Tidy-up of version code
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@474493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/ProtocolInitiation.h')
| -rw-r--r-- | cpp/src/qpid/framing/ProtocolInitiation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/framing/ProtocolInitiation.h b/cpp/src/qpid/framing/ProtocolInitiation.h index 60ebbcfdf0..77c64363dd 100644 --- a/cpp/src/qpid/framing/ProtocolInitiation.h +++ b/cpp/src/qpid/framing/ProtocolInitiation.h @@ -42,8 +42,8 @@ public: virtual void encode(Buffer& buffer); virtual bool decode(Buffer& buffer); inline virtual u_int32_t size() const { return 8; } - inline u_int8_t getMajor(){ return version.major_; } - inline u_int8_t getMinor(){ return version.minor_; } + inline u_int8_t getMajor() const { return version.getMajor(); } + inline u_int8_t getMinor() const { return version.getMinor(); } inline const ProtocolVersion& getVersion() const { return version; } }; |
