Commit 05889f37 authored by Milian Wolff's avatar Milian Wolff
Browse files

Use `Declaration*` directly, no need for DeclarationPointer here

We do not unlock the mutex thus the declaration pointer will
remain valid and we don't need to go through the DeclarationPointer
here at all.
parent 20bc9db9
......@@ -130,7 +130,7 @@ QVariant ArgumentTypeFilter::doFilter (const QVariant& input, const QVariant& /*
for(PersistentSymbolTable::Declarations::Iterator it = decl.iterator(); it; ++it)
{
DeclarationPointer declaration = DeclarationPointer(it->declaration());
auto declaration = it->declaration();
if(declaration->isForwardDeclaration())
{
continue;
......
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