Commit addd6773 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 700696 - Template static member functions duplicated as non-static public

parent bab453f8
......@@ -6105,11 +6105,13 @@ static void findMember(EntryNav *rootNav,
// for template member we also need to check the return type
if (md->templateArguments()!=0 && root->tArgLists!=0)
{
QCString memType = md->typeString();
memType.stripPrefix("static "); // see bug700696
//printf("Comparing return types '%s'<->'%s' args %d<->%d\n",
// md->typeString(),funcType.data(),
// md->templateArguments()->count(),root->tArgLists->last()->count());
if (md->templateArguments()->count()!=root->tArgLists->last()->count() ||
qstrcmp(md->typeString(),funcType))
qstrcmp(memType,funcType))
{
//printf(" ---> no matching\n");
matching = FALSE;
......
Markdown is supported
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