Remove misguided template keyword to fix GCC build.

This commit is contained in:
Kim Gräsman 2014-09-16 19:03:33 +00:00
parent cfb96548c0
commit 461e0eed28
1 changed files with 1 additions and 1 deletions

View File

@ -3669,7 +3669,7 @@ class IwyuAstConsumer
// void init(struct mystruct* s);
// warning: declaration of 'struct mystruct' will not be visible
// outside of this function [-Wvisibility]
if (current_ast_node()->template HasAncestorOfType<ParmVarDecl>())
if (current_ast_node()->HasAncestorOfType<ParmVarDecl>())
ReportDeclForwardDeclareUse(CurrentLoc(), type->getDecl());
}
return Base::VisitTagType(type);