From df6b8ae7435e86066534daecd23b1b393071b28e Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Tue, 17 Feb 2015 09:02:51 +0100 Subject: [PATCH] in reaction to pull request #21 the "const uint**_t" return values have been changed into "uint**_t" return values --- include/channel.h | 2 +- include/channelimpl.h | 2 +- include/metadata.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/channel.h b/include/channel.h index e3e585e..8024e0a 100644 --- a/include/channel.h +++ b/include/channel.h @@ -520,7 +520,7 @@ public: * Get the channel we're working on * @return uint16_t */ - const uint16_t id() const + uint16_t id() const { return _implementation->id(); } diff --git a/include/channelimpl.h b/include/channelimpl.h index a7fab39..47da82d 100644 --- a/include/channelimpl.h +++ b/include/channelimpl.h @@ -506,7 +506,7 @@ public: * Get the channel we're working on * @return uint16_t */ - const uint16_t id() const + uint16_t id() const { return _id; } diff --git a/include/metadata.h b/include/metadata.h index 42bf051..a74899c 100644 --- a/include/metadata.h +++ b/include/metadata.h @@ -224,8 +224,8 @@ public: const std::string &expiration () const { return _expiration; } const std::string &replyTo () const { return _replyTo; } const std::string &correlationID () const { return _correlationID; } - const uint8_t priority () const { return _priority; } - const uint8_t deliveryMode () const { return _deliveryMode; } + uint8_t priority () const { return _priority; } + uint8_t deliveryMode () const { return _deliveryMode; } const Table &headers () const { return _headers; } const std::string &contentEncoding() const { return _contentEncoding; } const std::string &contentType () const { return _contentType; } @@ -233,7 +233,7 @@ public: const std::string &appID () const { return _appID; } const std::string &userID () const { return _userID; } const std::string &typeName () const { return _typeName; } - const uint64_t timestamp () const { return _timestamp; } + uint64_t timestamp () const { return _timestamp; } const std::string &messageID () const { return _messageID; } /**