summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qmf/DataAddrImpl.h
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
commit461f9b271c370dc200c3b2f54197bea65337e7c7 (patch)
treebdca0b9a5fe60421da00fc3ad01a4eb4a8bae43d /qpid/cpp/src/qmf/DataAddrImpl.h
parent6bc2dfcb32f4b6af4c24a51a664c4ab838d8a3fa (diff)
downloadqpid-python-461f9b271c370dc200c3b2f54197bea65337e7c7.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@1145644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/DataAddrImpl.h')
-rw-r--r--qpid/cpp/src/qmf/DataAddrImpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qmf/DataAddrImpl.h b/qpid/cpp/src/qmf/DataAddrImpl.h
index 3f9cae9453..11d512f0c4 100644
--- a/qpid/cpp/src/qmf/DataAddrImpl.h
+++ b/qpid/cpp/src/qmf/DataAddrImpl.h
@@ -38,8 +38,8 @@ namespace qmf {
//
// Methods from API handle
//
- bool operator==(const DataAddrImpl&);
- bool operator<(const DataAddrImpl&);
+ bool operator==(const DataAddrImpl&) const;
+ bool operator<(const DataAddrImpl&) const;
DataAddrImpl(const qpid::types::Variant::Map&);
DataAddrImpl(const std::string& _name, const std::string& _agentName, uint32_t _agentEpoch=0) :
agentName(_agentName), name(_name), agentEpoch(_agentEpoch) {}