From 442a703034b4b08ac3ccc167db915356d796272b Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Thu, 18 Oct 2007 18:30:07 +0000 Subject: 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 --- cpp/src/qpid/framing/FieldValue.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'cpp/src/qpid/framing/FieldValue.cpp') 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() const -{ - return data->convertsToInt(); -} - -template<> -bool FieldValue::convertsTo() const -{ - return data->convertsToString(); -} - -template<> -int FieldValue::get() const -{ - return data->getInt(); -} - -template<> -std::string FieldValue::get() const -{ - return data->getString(); -} - void FieldValue::encode(Buffer& buffer) { buffer.putOctet(typeOctet); -- cgit v1.2.1