summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FieldTable.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-10-23 12:41:16 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-10-23 12:41:16 +0000
commit037c28c0c658b44529783b79a6b895e3b89dc699 (patch)
tree38667354023added92eff214d939158635f66ef0 /cpp/src/qpid/framing/FieldTable.cpp
parent9e171cd92aeb446b080231ae100d75f4d2b0dfe4 (diff)
downloadqpid-python-037c28c0c658b44529783b79a6b895e3b89dc699.tar.gz
More tidying up of field table API
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@587480 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FieldTable.cpp')
-rw-r--r--cpp/src/qpid/framing/FieldTable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/framing/FieldTable.cpp b/cpp/src/qpid/framing/FieldTable.cpp
index f30b49f739..3c0284f2c8 100644
--- a/cpp/src/qpid/framing/FieldTable.cpp
+++ b/cpp/src/qpid/framing/FieldTable.cpp
@@ -104,9 +104,9 @@ T getValue(const FieldTable::ValuePtr value)
return value->get<T>();
}
-//std::string FieldTable::getString(const std::string& name) const {
-// return getValue<std::string>(name);
-//}
+std::string FieldTable::getString(const std::string& name) const {
+ return getValue<std::string>(get(name));
+}
int FieldTable::getInt(const std::string& name) const {
return getValue<int>(get(name));