summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2011-07-12 16:11:34 +0000
committerTed Ross <tross@apache.org>2011-07-12 16:11:34 +0000
commit3db85f26920af450a5626c1c663ae0f835b725cd (patch)
tree705abdabb9e917e788992de5c6eaf450f5c92491 /cpp/src/qpid
parent9e1c8d1ab0d3f014d2ac3800e59390c2f958232f (diff)
downloadqpid-python-3db85f26920af450a5626c1c663ae0f835b725cd.tar.gz
QPID-3344 - Comparisons of const DataAddr objects are incorrect
Applied patch from Zane Bitter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/store/StorageProvider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/store/StorageProvider.h b/cpp/src/qpid/store/StorageProvider.h
index bc8d187517..d162cc58ec 100644
--- a/cpp/src/qpid/store/StorageProvider.h
+++ b/cpp/src/qpid/store/StorageProvider.h
@@ -54,7 +54,7 @@ struct QueueEntry {
QueueEntry(uint64_t id, TplStatus tpl = NONE, const std::string& x = "")
: queueId(id), tplStatus(tpl), xid(x) {}
- bool operator==(const QueueEntry& rhs) {
+ bool operator==(const QueueEntry& rhs) const {
if (queueId != rhs.queueId) return false;
if (tplStatus == NONE && rhs.tplStatus == NONE) return true;
return xid == rhs.xid;