From 5658572a27afe912313909544fdc449d93633e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Abecasis?= Date: Thu, 18 Aug 2011 11:08:26 +0200 Subject: Leftovers from 401722ef9e6fe79bd41f9d5f79668f5c4997c8e6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This no longer necessary template specialization went unnoticed inside the Windows/Symbian #ifdef. It breaks compilation on those platforms, now that qstringbuilder.h is not included and QConcatenable is unknown to the compiler. (cherry picked from commit 9e656ce0f7bda4bca4ae55a7aefe1617bc2805ac) Change-Id: Ie7145c25bca01b808fa6a3fd99e34baa8375d304 Reviewed-by: João Abecasis --- src/corelib/io/qtemporaryfile.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/corelib/io/qtemporaryfile.cpp b/src/corelib/io/qtemporaryfile.cpp index 9247dd326d..afef67493e 100644 --- a/src/corelib/io/qtemporaryfile.cpp +++ b/src/corelib/io/qtemporaryfile.cpp @@ -72,20 +72,6 @@ static inline Char Latin1Char(char ch) return ushort(uchar(ch)); } -template <> -struct QConcatenable -{ - typedef Char type; - typedef QString ConvertTo; - enum { ExactSize = true }; - static int size(const Char &) { return 1; } - - static inline void appendTo(const Char &u16, QChar *&out) - { - *out++ = QChar(u16); - } -}; - # ifdef Q_OS_WIN typedef HANDLE NativeFileHandle; # else // Q_OS_SYMBIAN -- cgit v1.2.3