diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-12-29 18:26:01 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-01-06 17:39:35 +0100 |
commit | eb1baa9e2e445bbc108b7a8a16d340707923041f (patch) | |
tree | 7581c1b0622d8a8cd4984774b86ede0176fecdfa /src/shared/cplusplus/CheckDeclarator.cpp | |
parent | 5723682b218b1de51a966df269c3ccefd9dfcb22 (diff) | |
download | qt-creator-eb1baa9e2e445bbc108b7a8a16d340707923041f.tar.gz |
Fix to selector parameter position.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclarator.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckDeclarator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp index 7af4e02268..d87b099790 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -97,10 +97,11 @@ FullySpecifiedType CheckDeclarator::check(PtrOperatorListAST *ptrOperators, FullySpecifiedType CheckDeclarator::check(ObjCMethodPrototypeAST *methodPrototype, Scope *scope) { + FullySpecifiedType previousType = switchFullySpecifiedType(FullySpecifiedType()); Scope *previousScope = switchScope(scope); accept(methodPrototype); (void) switchScope(previousScope); - return _fullySpecifiedType; + return switchFullySpecifiedType(previousType); } DeclaratorAST *CheckDeclarator::switchDeclarator(DeclaratorAST *declarator) |