summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-16 17:25:18 +0000
committerAlan Conway <aconway@apache.org>2009-01-16 17:25:18 +0000
commit0541090a05e124e8af9e2b887f641ff0f985b2d5 (patch)
tree240571682f5210ff5dc5f297ccef74ef16343c1b /cpp/src/qpid/cluster/Cluster.cpp
parent9b0a13818d536d92c39ae15b8934d2bc33ce573d (diff)
downloadqpid-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.cpp2
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);