diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2008-10-03 15:01:55 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2008-10-03 15:01:55 +0000 |
| commit | 25c373622b86747b1e9360e677f9c1997950428e (patch) | |
| tree | fbb5577d8103f6cf196d356716ccf397fb74ba06 /cpp/src/qpid/framing | |
| parent | fa3f3064159d8109a1c0cf485a9959337397cd95 (diff) | |
| download | qpid-python-25c373622b86747b1e9360e677f9c1997950428e.tar.gz | |
QPID 1306
- added QueueOptions helper
- added tests for Queue Options helper.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@701397 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing')
| -rw-r--r-- | cpp/src/qpid/framing/FieldTable.cpp | 8 | ||||
| -rw-r--r-- | cpp/src/qpid/framing/FieldTable.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/qpid/framing/FieldTable.cpp b/cpp/src/qpid/framing/FieldTable.cpp index cf8f1b5eed..1658a0bf9b 100644 --- a/cpp/src/qpid/framing/FieldTable.cpp +++ b/cpp/src/qpid/framing/FieldTable.cpp @@ -199,10 +199,10 @@ bool FieldTable::operator==(const FieldTable& x) const { return true; } -//void FieldTable::erase(const std::string& name) -//{ -// values.erase(values.find(name)); -//} +void FieldTable::erase(const std::string& name) +{ + values.erase(values.find(name)); +} } } diff --git a/cpp/src/qpid/framing/FieldTable.h b/cpp/src/qpid/framing/FieldTable.h index 3c56d1e81a..b56e3ce3ba 100644 --- a/cpp/src/qpid/framing/FieldTable.h +++ b/cpp/src/qpid/framing/FieldTable.h @@ -78,7 +78,7 @@ class FieldTable bool getFloat(const std::string& name, float& value) const; bool getDouble(const std::string& name, double& value) const; // //void getDecimal(string& name, xxx& value); -// //void erase(const std::string& name); + void erase(const std::string& name); bool operator==(const FieldTable& other) const; |
