summaryrefslogtreecommitdiff
path: root/cpp/client/inc/IncomingMessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/client/inc/IncomingMessage.h')
-rw-r--r--cpp/client/inc/IncomingMessage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/client/inc/IncomingMessage.h b/cpp/client/inc/IncomingMessage.h
index 1fee6af433..04b1fb40ba 100644
--- a/cpp/client/inc/IncomingMessage.h
+++ b/cpp/client/inc/IncomingMessage.h
@@ -47,7 +47,7 @@ namespace client {
bool isReturn();
bool isDelivery();
bool isResponse();
- string& getConsumerTag();//only relevant if isDelivery()
+ const string& getConsumerTag();//only relevant if isDelivery()
qpid::framing::AMQHeaderBody::shared_ptr& getHeader();
u_int64_t getDeliveryTag();
void getData(string& data);