From a653ebe5bdfad1d44a576d2ab23f7e6ea80ba96f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 7 Oct 2008 17:24:24 +0000 Subject: Rename size() to encodedSize() for encoded types to allow std collection interfaces for types like FieldTable and Array. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702551 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/Event.cpp') diff --git a/cpp/src/qpid/cluster/Event.cpp b/cpp/src/qpid/cluster/Event.cpp index f7389c1922..3f2b5443d2 100644 --- a/cpp/src/qpid/cluster/Event.cpp +++ b/cpp/src/qpid/cluster/Event.cpp @@ -50,7 +50,7 @@ Event Event::delivered(const MemberId& m, void* d, size_t s) { Event Event::control(const framing::AMQBody& body, const ConnectionId& cid, uint32_t id) { framing::AMQFrame f(body); - Event e(CONTROL, cid, f.size(), id); + Event e(CONTROL, cid, f.encodedSize(), id); Buffer buf(e); f.encode(buf); return e; -- cgit v1.2.1