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:
parent
ebe08096c9
commit
a2d218cc41
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user