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
commit6077902dc8551f6f6db904577227be88f3ac1fdb (patch)
tree705abdabb9e917e788992de5c6eaf450f5c92491 /cpp/src/qpid
parenta3d97466c5c51a1d07c2d1b41011f38bd02d9a28 (diff)
downloadqpid-python-6077902dc8551f6f6db904577227be88f3ac1fdb.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;