summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2012-03-05 23:55:50 +0000
committerAndrew Stitcher <astitcher@apache.org>2012-03-05 23:55:50 +0000
commit9c8792e7e20fb73196326a31ca299d220e9a8078 (patch)
tree7f335ec84128ff2e5cf265d80ff81bf37a533060 /qpid/cpp/include
parent47fb332cc91310afbb49af74b5d0f11b1efdaaa1 (diff)
downloadqpid-python-9c8792e7e20fb73196326a31ca299d220e9a8078.tar.gz
QPID-3883: Using application headers in messages causes a very large slowdown
Some more tidying up of the FieldTable implementation: - implement a more selective copy constructor - keep the encoded data in case we are used again - more careful raw bytes cache flush git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1297290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/framing/FieldTable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/framing/FieldTable.h b/qpid/cpp/include/qpid/framing/FieldTable.h
index b404a06c9a..2592e8f124 100644
--- a/qpid/cpp/include/qpid/framing/FieldTable.h
+++ b/qpid/cpp/include/qpid/framing/FieldTable.h
@@ -58,7 +58,9 @@ class FieldTable
typedef ValueMap::value_type value_type;
QPID_COMMON_EXTERN FieldTable();
- // Compiler default copy, assignment and destructor are fine
+ QPID_COMMON_EXTERN FieldTable(const FieldTable&);
+ QPID_COMMON_EXTERN FieldTable& operator=(const FieldTable&);
+ // Compiler default destructor fine
QPID_COMMON_EXTERN uint32_t encodedSize() const;
QPID_COMMON_EXTERN void encode(Buffer& buffer) const;
QPID_COMMON_EXTERN void decode(Buffer& buffer);