diff options
| author | Alan Conway <aconway@apache.org> | 2009-05-27 16:39:15 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-05-27 16:39:15 +0000 |
| commit | b6780b5b42b168c62a3380e5fc15cc39fc374615 (patch) | |
| tree | 1ba66ece932dbbe371a3e840734d8cb218ec7f99 /cpp/src/qpid/cluster/Decoder.h | |
| parent | ba7280d1f6dc6a59021bfd86f20aa4382c3977a7 (diff) | |
| download | qpid-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.h | 2 |
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; |
