Fixed syntax error
This commit is contained in:
parent
2995b5c3d7
commit
b61c4b24b4
|
@ -1298,7 +1298,7 @@ void SymbolDatabase::addClassFunction(Scope **scope, const Token **tok, const To
|
||||||
bool match = false;
|
bool match = false;
|
||||||
if (scope1->className == tok1->str() && (scope1->type != Scope::eFunction)) {
|
if (scope1->className == tok1->str() && (scope1->type != Scope::eFunction)) {
|
||||||
// do the scopes match (same scope) or do their names match (multiple namespaces)
|
// do the scopes match (same scope) or do their names match (multiple namespaces)
|
||||||
if ((*scope == scope1->nestedIn) || (*scope) &&
|
if ((*scope == scope1->nestedIn) || (*scope &&
|
||||||
(*scope)->className == scope1->nestedIn->className &&
|
(*scope)->className == scope1->nestedIn->className &&
|
||||||
!(*scope)->className.empty() &&
|
!(*scope)->className.empty() &&
|
||||||
(*scope)->type == scope1->nestedIn->type)) {
|
(*scope)->type == scope1->nestedIn->type)) {
|
||||||
|
|
Loading…
Reference in New Issue