summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/LookupItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/cplusplus/LookupItem.h')
-rw-r--r--src/libs/cplusplus/LookupItem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/cplusplus/LookupItem.h b/src/libs/cplusplus/LookupItem.h
index 46c7b34716..13963b7064 100644
--- a/src/libs/cplusplus/LookupItem.h
+++ b/src/libs/cplusplus/LookupItem.h
@@ -37,7 +37,7 @@
namespace CPlusPlus {
-class ClassOrNamespace;
+class LookupScope;
class CPLUSPLUS_EXPORT LookupItem
{
@@ -63,8 +63,8 @@ public:
/// Sets this item's scope.
void setScope(Scope *scope);
- ClassOrNamespace *binding() const;
- void setBinding(ClassOrNamespace *binding);
+ LookupScope *binding() const;
+ void setBinding(LookupScope *binding);
bool operator == (const LookupItem &other) const;
bool operator != (const LookupItem &other) const;
@@ -73,7 +73,7 @@ private:
FullySpecifiedType _type;
Scope *_scope;
Symbol *_declaration;
- ClassOrNamespace *_binding;
+ LookupScope *_binding;
};
uint qHash(const CPlusPlus::LookupItem &result);