diff --git a/src/plugins/cppeditor/cppinsertdecldef.cpp b/src/plugins/cppeditor/cppinsertdecldef.cpp index 139b04c8340..2da7055c1e1 100644 --- a/src/plugins/cppeditor/cppinsertdecldef.cpp +++ b/src/plugins/cppeditor/cppinsertdecldef.cpp @@ -309,7 +309,6 @@ QList DefFromDecl::match( if (Symbol *symbol = simpleDecl->symbols->value) { if (Declaration *decl = symbol->asDeclaration()) { if (decl->type()->isFunctionType() - && !decl->type()->asFunctionType()->isPureVirtual() && decl->enclosingScope() && decl->enclosingScope()->isClass()) { CppRefactoringChanges refactoring(interface->snapshot());