summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-08-18 11:08:26 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-21 22:20:48 +0200
commit5658572a27afe912313909544fdc449d93633e4c (patch)
treeb07f43de118824a8f93e8ea51fed5bbaa836eb34
parentfd61059d359f0bee1c37d6bf08bf4b83381658ca (diff)
Leftovers from 401722ef9e6fe79bd41f9d5f79668f5c4997c8e6
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 <joao.abecasis@nokia.com>
-rw-r--r--src/corelib/io/qtemporaryfile.cpp14
1 files changed, 0 insertions, 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<Char>
-{
- 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