diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-12-23 02:12:35 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-12-23 07:27:39 +0000 |
commit | 29ddfc3be730ca48cbec0e3b4508b006ba79eb66 (patch) | |
tree | c422a6c20c3488981f10bfad0faf5e8834e8b4ab /tests/auto/corelib/tools/collections/tst_collections.cpp | |
parent | 75612a4b4f2b494aaa7bb34a4dbfdaba80447885 (diff) |
tst_collections: "explicit instantiation of 'NS::QList' must occur in namespace 'NS'
Probably correct.
The question is just why this code has survived for so many years.
Change-Id: Iaf01850476f9b066243abebb9ee6c5928d7ada19
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/corelib/tools/collections/tst_collections.cpp')
-rw-r--r-- | tests/auto/corelib/tools/collections/tst_collections.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/corelib/tools/collections/tst_collections.cpp b/tests/auto/corelib/tools/collections/tst_collections.cpp index 9aa86d3b35..09052c05f5 100644 --- a/tests/auto/corelib/tools/collections/tst_collections.cpp +++ b/tests/auto/corelib/tools/collections/tst_collections.cpp @@ -90,7 +90,9 @@ void foo() #include "qvector.h" #include "qqueue.h" +QT_BEGIN_NAMESPACE template class QList<int>; +QT_END_NAMESPACE class tst_Collections : public QObject { |