summaryrefslogtreecommitdiff
path: root/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
commit276c7869ea23f5c1933cff91d90fb2387e9e2fcd (patch)
tree38c1a3441807298eae643d54afb8245194e71352 /cpp/include
parent61eeb68cc7b14382aface77cc8c76f7e8cc2b4c3 (diff)
downloadqpid-python-276c7869ea23f5c1933cff91d90fb2387e9e2fcd.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/qpid@1297290 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/framing/FieldTable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/include/qpid/framing/FieldTable.h b/cpp/include/qpid/framing/FieldTable.h
index b404a06c9a..2592e8f124 100644
--- a/cpp/include/qpid/framing/FieldTable.h
+++ b/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);