Commit 7c2d3659 authored by Christian Kamm's avatar Christian Kamm
Browse files

C++: Fix an infinite loop in reportResult.

Done-with: Roberto Raggi
parent 28a3bd64
...@@ -135,7 +135,7 @@ void FindUsages::reportResult(unsigned tokenIndex, const Name *name, Scope *scop ...@@ -135,7 +135,7 @@ void FindUsages::reportResult(unsigned tokenIndex, const Name *name, Scope *scop
void FindUsages::reportResult(unsigned tokenIndex, const Identifier *id, Scope *scope) void FindUsages::reportResult(unsigned tokenIndex, const Identifier *id, Scope *scope)
{ {
reportResult(tokenIndex, id, scope); reportResult(tokenIndex, static_cast<const Name *>(id), scope);
} }
void FindUsages::reportResult(unsigned tokenIndex, const QList<LookupItem> &candidates) void FindUsages::reportResult(unsigned tokenIndex, const QList<LookupItem> &candidates)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment