forked from qt-creator/qt-creator
CPlusPlus tools: Fix build with Qt 5
error: reference to type 'CPlusPlus::ClassOrNamespace *const'
could not bind to an lvalue of type
'const CPlusPlus::ClassOrNamespace *'
if (interfaces.contains(u)) {
Amends f7097cef19
Fixes: QTCREATORBUG-27806
Change-Id: Ia5c27260f71bf35c87352545fff42dcaef1f2649
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -403,7 +403,7 @@ protected:
|
||||
if (Symbol *s = klass->find(accept0)) {
|
||||
if (Function *meth = s->type()->asFunctionType()) {
|
||||
if (! meth->isPureVirtual()) {
|
||||
for (const ClassOrNamespace *u : b->usings()) {
|
||||
for (ClassOrNamespace *u : b->usings()) {
|
||||
if (interfaces.contains(u)) {
|
||||
// qDebug() << oo(klass->name()) << "implements" << oo(u->symbols().first()->name());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user