diff options
| author | Alan Conway <aconway@apache.org> | 2009-01-16 17:25:18 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-01-16 17:25:18 +0000 |
| commit | 0541090a05e124e8af9e2b887f641ff0f985b2d5 (patch) | |
| tree | 240571682f5210ff5dc5f297ccef74ef16343c1b /cpp/src/qpid/cluster/Cluster.cpp | |
| parent | 9b0a13818d536d92c39ae15b8934d2bc33ce573d (diff) | |
| download | qpid-python-0541090a05e124e8af9e2b887f641ff0f985b2d5.tar.gz | |
Separate cluster::EventHeader to allow non-copy events.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@735059 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
| -rw-r--r-- | cpp/src/qpid/cluster/Cluster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp index ad1f4b704d..ce564939b8 100644 --- a/cpp/src/qpid/cluster/Cluster.cpp +++ b/cpp/src/qpid/cluster/Cluster.cpp @@ -187,7 +187,7 @@ void Cluster::deliver( Mutex::ScopedLock l(lock); MemberId from(nodeid, pid); framing::Buffer buf(static_cast<char*>(msg), msg_len); - Event e(Event::decode(from, buf)); + Event e(Event::decodeCopy(from, buf)); if (from == myId) // Record self-deliveries for flow control. mcast.selfDeliver(e); deliver(e, l); |
