summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/cluster/Decoder.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-05-27 16:39:15 +0000
committerAlan Conway <aconway@apache.org>2009-05-27 16:39:15 +0000
commitc615cd9f66ff66fba15da74c94594b5b4dba9ab3 (patch)
treeecd7a75349f9309750e755efdbbfa4ae4eba37fa /qpid/cpp/src/qpid/cluster/Decoder.h
parent293f80d50fc7624beb50303120fcdedf1ae5ba0a (diff)
downloadqpid-python-c615cd9f66ff66fba15da74c94594b5b4dba9ab3.tar.gz
Added missing locks in cluster code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@779235 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/cluster/Decoder.h')
-rw-r--r--qpid/cpp/src/qpid/cluster/Decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Decoder.h b/qpid/cpp/src/qpid/cluster/Decoder.h
index 3fb7b4f73d..6bcd877a75 100644
--- a/qpid/cpp/src/qpid/cluster/Decoder.h
+++ b/qpid/cpp/src/qpid/cluster/Decoder.h
@@ -45,7 +45,7 @@ class Decoder
Decoder(FrameHandler fh) : callback(fh) {}
void decode(const EventHeader& eh, const char* data);
void erase(const ConnectionId&);
- framing::FrameDecoder& get(const ConnectionId& c) { return map[c]; }
+ framing::FrameDecoder& get(const ConnectionId& c);
private:
typedef std::map<ConnectionId, framing::FrameDecoder> Map;