forked from qt-creator/qt-creator
Removed more icore.h includes from header files
This commit is contained in:
@@ -440,9 +440,9 @@ void CPPEditor::switchDeclarationDefinition()
|
||||
return;
|
||||
|
||||
Function *f = lastSymbol->asFunction();
|
||||
if (! f) {
|
||||
if (!f) {
|
||||
Scope *fs = lastSymbol->scope();
|
||||
if (! fs->isFunctionScope())
|
||||
if (!fs->isFunctionScope())
|
||||
fs = fs->enclosingFunctionScope();
|
||||
if (fs)
|
||||
f = fs->owner()->asFunction();
|
||||
|
||||
Reference in New Issue
Block a user