summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-07-06 11:42:49 (GMT)
committerLars Knoll <lars.knoll@nokia.com>2011-07-06 11:50:53 (GMT)
commitd2303b008e86f36a34eed2b6f0ea79ce41b5e1b3 (patch)
tree56e2854b88e28d22cdcf28c5966ec83d653961e9 /src
parentf9b521fc492b82ea510b448ffd785273db0b8e74 (diff)
downloadQt-d2303b008e86f36a34eed2b6f0ea79ce41b5e1b3.zip
Qt-d2303b008e86f36a34eed2b6f0ea79ce41b5e1b3.tar.gz
Qt-d2303b008e86f36a34eed2b6f0ea79ce41b5e1b3.tar.bz2
Fix compilation with c++0x mode
Reviewed-by: Olivier
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qstringlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstringlist.h b/src/corelib/tools/qstringlist.h
index 2159512..f4689b4 100644
--- a/src/corelib/tools/qstringlist.h
+++ b/src/corelib/tools/qstringlist.h
@@ -71,7 +71,7 @@ public:
inline QStringList(const QStringList &l) : QList<QString>(l) { }
inline QStringList(const QList<QString> &l) : QList<QString>(l) { }
#ifdef Q_COMPILER_INITIALIZER_LISTS
- inline QStringList(std::initializer_list<QString> args) : QList(args) { }
+ inline QStringList(std::initializer_list<QString> args) : QList<QString>(args) { }
#endif
inline void sort();