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 08:35:49 +0000 |
commit | a2d218cc41c97f184465611c13d6dbbc2a72d858 (patch) | |
tree | cb24cf2e52e30f11b182db11f15633fc988d1494 /tests/auto/corelib | |
parent | ebe08096c94c6af43ee492c8939693a1bcbd893f (diff) | |
download | qtbase-a2d218cc41c97f184465611c13d6dbbc2a72d858.tar.gz |
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')
-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 ae8ffe48be..b9487cee33 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 { |