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>
This commit is contained in:
Marc Mutz 2015-12-23 02:12:35 +01:00 committed by Simon Hausmann
parent ebe08096c9
commit a2d218cc41

View File

@ -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
{