diff options
| author | Stephen D. Huston <shuston@apache.org> | 2009-08-31 22:43:29 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2009-08-31 22:43:29 +0000 |
| commit | 447c941935ae75a91093e5b49f05a40cc188ab60 (patch) | |
| tree | e1693ff473d1a9e355df8e4b679107ca52354618 /cpp/include/qpid/framing/FieldTable.h | |
| parent | 13b692aac42bc0e896a31c176daf79920a82ea5e (diff) | |
| download | qpid-python-447c941935ae75a91093e5b49f05a40cc188ab60.tar.gz | |
Changes to make messaging API build on Windows: Prepend VAR_ to Variant types enum to avoid name clashes, add 'reference' type for FieldTable ValueMap to satisfy STL, refer to structs as such, not as class (avoids compile warning)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/framing/FieldTable.h')
| -rw-r--r-- | cpp/include/qpid/framing/FieldTable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/include/qpid/framing/FieldTable.h b/cpp/include/qpid/framing/FieldTable.h index b2331cd4e1..fd09cfc6f6 100644 --- a/cpp/include/qpid/framing/FieldTable.h +++ b/cpp/include/qpid/framing/FieldTable.h @@ -52,6 +52,7 @@ class FieldTable typedef std::map<std::string, ValuePtr> ValueMap; typedef ValueMap::iterator iterator; typedef ValueMap::const_reference const_reference; + typedef ValueMap::reference reference; typedef ValueMap::value_type value_type; QPID_COMMON_EXTERN FieldTable() {}; @@ -108,7 +109,7 @@ class FieldTable ValueMap::iterator find(const std::string& s) { return values.find(s); } std::pair <ValueMap::iterator, bool> insert(const ValueMap::value_type&); - ValueMap::iterator insert(ValueMap::iterator, const ValueMap::value_type&); + QPID_COMMON_EXTERN ValueMap::iterator insert(ValueMap::iterator, const ValueMap::value_type&); void clear() { values.clear(); } // ### Hack Alert |
