summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2011-08-18 09:08:26 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2011-08-18 09:12:17 (GMT)
commit9e656ce0f7bda4bca4ae55a7aefe1617bc2805ac (patch)
treeefab9bbd29f9e541e9bd4a7c10c285ea03d6b3e4 /src/corelib
parent4e2b245df03b79df272318092a63a4a3708ba3b2 (diff)
downloadQt-9e656ce0f7bda4bca4ae55a7aefe1617bc2805ac.zip
Qt-9e656ce0f7bda4bca4ae55a7aefe1617bc2805ac.tar.gz
Qt-9e656ce0f7bda4bca4ae55a7aefe1617bc2805ac.tar.bz2
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.
Diffstat (limited to 'src/corelib')
-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 375d07f..ea5f8a5 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