summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FieldValue.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-10-18 18:30:07 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-10-18 18:30:07 +0000
commit442a703034b4b08ac3ccc167db915356d796272b (patch)
tree76e4c60e84ea6b0a97bb1f22144db3d799dbe1f1 /cpp/src/qpid/framing/FieldValue.cpp
parent5ef62e454d6a5ad986266ca7735847fd7f2e7c58 (diff)
downloadqpid-python-442a703034b4b08ac3ccc167db915356d796272b.tar.gz
More rearranging of template specialisation to avoid gccisms and conform correctly to the standard
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@586054 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FieldValue.cpp')
-rw-r--r--cpp/src/qpid/framing/FieldValue.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/cpp/src/qpid/framing/FieldValue.cpp b/cpp/src/qpid/framing/FieldValue.cpp
index 71961fa98a..a7535ae4b9 100644
--- a/cpp/src/qpid/framing/FieldValue.cpp
+++ b/cpp/src/qpid/framing/FieldValue.cpp
@@ -82,30 +82,6 @@ void FieldValue::decode(Buffer& buffer)
data->decode(buffer);
}
-template<>
-bool FieldValue::convertsTo<int>() const
-{
- return data->convertsToInt();
-}
-
-template<>
-bool FieldValue::convertsTo<string>() const
-{
- return data->convertsToString();
-}
-
-template<>
-int FieldValue::get<int>() const
-{
- return data->getInt();
-}
-
-template<>
-std::string FieldValue::get<std::string>() const
-{
- return data->getString();
-}
-
void FieldValue::encode(Buffer& buffer)
{
buffer.putOctet(typeOctet);