summaryrefslogtreecommitdiff
path: root/qpid
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2008-10-26 01:15:49 +0000
committerStephen D. Huston <shuston@apache.org>2008-10-26 01:15:49 +0000
commitfdc9ec54dabbd63c14b27d0653ea3d95705a3b2c (patch)
tree46f10db2dbc371c616d28bee76e98b06a7e350f6 /qpid
parent3ec2eeff4da42285b668d05686e60e4a89288614 (diff)
downloadqpid-python-fdc9ec54dabbd63c14b27d0653ea3d95705a3b2c.tar.gz
Change 'at' to 'find' to build with older g++ and with MSVC
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707927 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid')
-rw-r--r--qpid/cpp/src/qpid/client/SubscriptionManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/client/SubscriptionManager.cpp b/qpid/cpp/src/qpid/client/SubscriptionManager.cpp
index 7e2f2f8595..13cdd7cad1 100644
--- a/qpid/cpp/src/qpid/client/SubscriptionManager.cpp
+++ b/qpid/cpp/src/qpid/client/SubscriptionManager.cpp
@@ -110,7 +110,8 @@ bool SubscriptionManager::get(Message& result, const std::string& queue, sys::Du
Session SubscriptionManager::getSession() const { return session; }
Subscription SubscriptionManager::getSubscription(const std::string& name) const {
- return subscriptions.at(name);
+
+ return (*subscriptions.find(name)).second;
}
void SubscriptionManager::registerFailoverHandler (boost::function<void ()> fh) {