summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/frame_functors.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-13 21:33:16 +0000
committerAlan Conway <aconway@apache.org>2007-11-13 21:33:16 +0000
commitcce6eaa238a2bb4d64ccb4450d6f39320fe5434c (patch)
tree44755008be815f8d9a2c76eaf369d911fae8d098 /cpp/src/qpid/framing/frame_functors.h
parentbbc7853c8deda6f064fb15d0fb12cd42ab129206 (diff)
downloadqpid-python-cce6eaa238a2bb4d64ccb4450d6f39320fe5434c.tar.gz
Stopped frameset from assembling messages piecewise.
Roughly halves allocations on the broker, not much effect on client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@594647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/frame_functors.h')
-rw-r--r--cpp/src/qpid/framing/frame_functors.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpp/src/qpid/framing/frame_functors.h b/cpp/src/qpid/framing/frame_functors.h
index 992d389faf..d915a270c2 100644
--- a/cpp/src/qpid/framing/frame_functors.h
+++ b/cpp/src/qpid/framing/frame_functors.h
@@ -74,14 +74,6 @@ public:
void operator()(const AMQFrame& f) { f.getBody()->encode(buffer); }
};
-class AccumulateContent
-{
- std::string& content;
-public:
- AccumulateContent(std::string& c) : content(c) {}
- void operator()(const AMQFrame& f) { content += f.castBody<AMQContentBody>()->getData(); }
-};
-
/**
* Sends a copy of the frame its applied to to the specified handler
*/