summaryrefslogtreecommitdiff
path: root/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
commitb6780b5b42b168c62a3380e5fc15cc39fc374615 (patch)
tree1ba66ece932dbbe371a3e840734d8cb218ec7f99 /cpp/src/qpid/cluster/Decoder.h
parentba7280d1f6dc6a59021bfd86f20aa4382c3977a7 (diff)
downloadqpid-python-b6780b5b42b168c62a3380e5fc15cc39fc374615.tar.gz
Added missing locks in cluster code.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779235 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Decoder.h')
-rw-r--r--cpp/src/qpid/cluster/Decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Decoder.h b/cpp/src/qpid/cluster/Decoder.h
index 3fb7b4f73d..6bcd877a75 100644
--- a/cpp/src/qpid/cluster/Decoder.h
+++ b/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;