From b94af4e2e1edd6055e876f852c8fcdd75a4997e7 Mon Sep 17 00:00:00 2001 From: Roberto Raggi Date: Wed, 11 Aug 2010 10:27:09 +0200 Subject: The method enclosingSymbol() should always return a ScopedSymbol. --- src/shared/cplusplus/Symbol.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/cplusplus/Symbol.h') diff --git a/src/shared/cplusplus/Symbol.h b/src/shared/cplusplus/Symbol.h index 3835207ef3..b83f676601 100644 --- a/src/shared/cplusplus/Symbol.h +++ b/src/shared/cplusplus/Symbol.h @@ -284,7 +284,7 @@ public: bool isUnavailable() const; void setUnavailable(bool isUnavailable); - Symbol *enclosingSymbol() const; + ScopedSymbol *enclosingSymbol() const; /// Returns the eclosing namespace scope. Scope *enclosingNamespaceScope() const; -- cgit v1.2.1