diff options
| author | Ken Giusti <kgiusti@apache.org> | 2012-03-21 14:47:50 +0000 |
|---|---|---|
| committer | Ken Giusti <kgiusti@apache.org> | 2012-03-21 14:47:50 +0000 |
| commit | e4941c9cccb1e7ab30d8fd9dafa30c6ddc9c2661 (patch) | |
| tree | ea745a8ba9f08ace8e3ce62d16caf0afe8e20491 /cpp | |
| parent | c2043cd46d7ca1d0904b791d255dc862f9a8947b (diff) | |
| download | qpid-python-e4941c9cccb1e7ab30d8fd9dafa30c6ddc9c2661.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')
| -rw-r--r-- | cpp/src/qpid/broker/MessageGroupManager.h | 2 |
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; |
