diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-05 17:06:16 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-08-05 17:53:14 +0200 |
commit | 4ff3ee2ff04279b3c2ca317a7bac1f08c4a11eb5 (patch) | |
tree | 413578fa80c4c3c2c1791e7ffc6d09a6b48aa284 /src/libs/cplusplus/LookupContext.cpp | |
parent | 9aa991d6368f011e215a482c60add86f7f6277a2 (diff) | |
download | qt-creator-4ff3ee2ff04279b3c2ca317a7bac1f08c4a11eb5.tar.gz |
Use Prototype instead of Function.
Diffstat (limited to 'src/libs/cplusplus/LookupContext.cpp')
-rw-r--r-- | src/libs/cplusplus/LookupContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/LookupContext.cpp b/src/libs/cplusplus/LookupContext.cpp index bc2f2ca0c5..cdc1018e2d 100644 --- a/src/libs/cplusplus/LookupContext.cpp +++ b/src/libs/cplusplus/LookupContext.cpp @@ -280,7 +280,7 @@ QList<LookupItem> LookupContext::lookup(const Name *name, Scope *scope) const } } - } else if (scope->isFunctionScope()) { + } else if (scope->isPrototypeScope()) { Function *fun = scope->owner()->asFunction(); bindings()->lookupInScope(name, fun->members(), &candidates, /*templateId = */ 0, /*binding=*/ 0); |