From 461f9b271c370dc200c3b2f54197bea65337e7c7 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 12 Jul 2011 16:11:34 +0000 Subject: 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 --- qpid/cpp/src/qmf/DataAddrImpl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/src/qmf/DataAddrImpl.h') 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) {} -- cgit v1.2.1