summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorKenneth Anthony Giusti <kgiusti@apache.org>2012-03-21 14:47:50 +0000
committerKenneth Anthony Giusti <kgiusti@apache.org>2012-03-21 14:47:50 +0000
commit9008c974499a74ab1616aee252904b7d0699fe99 (patch)
treeea745a8ba9f08ace8e3ce62d16caf0afe8e20491 /cpp/src
parent8bf3ed8042b77045f2100064636f541329490517 (diff)
downloadqpid-python-9008c974499a74ab1616aee252904b7d0699fe99.tar.gz
QPID-3899: fix the const-ness of the < operator.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1303411 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/MessageGroupManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/MessageGroupManager.h b/cpp/src/qpid/broker/MessageGroupManager.h
index 66c3d9ab5d..340ebbc56a 100644
--- a/cpp/src/qpid/broker/MessageGroupManager.h
+++ b/cpp/src/qpid/broker/MessageGroupManager.h
@@ -52,7 +52,7 @@ class MessageGroupManager : public StatefulQueueObserver, public MessageDistribu
bool acquired;
MessageState() : acquired(false) {}
MessageState(const qpid::framing::SequenceNumber& p) : position(p), acquired(false) {}
- bool operator<(const MessageState& b) { return position < b.position; }
+ bool operator<(const MessageState& b) const { return position < b.position; }
};
typedef std::deque<MessageState> MessageFifo;