From a66bc0aadc27a44bbd4cd61a0c1b3ddeb5f2dfbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 10 Jun 2015 02:27:40 +0200 Subject: Fix FTBFS on explicit specialization of 'm_keyType' after instantiation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- tqdbusdata.cpp | 65 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 32 insertions(+), 33 deletions(-) (limited to 'tqdbusdata.cpp') diff --git a/tqdbusdata.cpp b/tqdbusdata.cpp index 0afa7e8..629df57 100644 --- a/tqdbusdata.cpp +++ b/tqdbusdata.cpp @@ -141,6 +141,38 @@ public: } value; }; +// key type definitions for TQT_DBusDataMap +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Byte; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Int16; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UInt16; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Int32; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UInt32; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Int64; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UInt64; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::String; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::ObjectPath; + +template <> +const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UnixFd; + + TQT_DBusData::TQT_DBusData() : d(new Private()) { } @@ -1087,36 +1119,3 @@ TQCString TQT_DBusData::buildDBusSignature() const return signature; } - - -// key type definitions for TQT_DBusDataMap -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Byte; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Int16; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UInt16; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Int32; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UInt32; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::Int64; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UInt64; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::String; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = - TQT_DBusData::ObjectPath; - -template <> -const TQT_DBusData::Type TQT_DBusDataMap::m_keyType = TQT_DBusData::UnixFd; -- cgit v1.2.1