From 14654e5360b72adf1704838b3820c7d1fc860e8e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 6 Oct 2006 16:17:06 +0000 Subject: Decoupled routing from the channel and message classes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453657 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/client/src/IncomingMessage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/client/src') diff --git a/cpp/client/src/IncomingMessage.cpp b/cpp/client/src/IncomingMessage.cpp index 8e2604c4cb..c95a92b651 100644 --- a/cpp/client/src/IncomingMessage.cpp +++ b/cpp/client/src/IncomingMessage.cpp @@ -53,7 +53,7 @@ bool IncomingMessage::isResponse(){ return response; } -string& IncomingMessage::getConsumerTag(){ +const string& IncomingMessage::getConsumerTag(){ if(!isDelivery()) THROW_QPID_ERROR(CLIENT_ERROR, "Consumer tag only valid for delivery"); return delivered->getConsumerTag(); } -- cgit v1.2.1