Commit 6deada30 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 700693 - Duplicate entry for class template member function with no parameter

parent addd6773
......@@ -6107,9 +6107,11 @@ static void findMember(EntryNav *rootNav,
{
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());
funcType=substitute(funcType,className+"::",""); // see bug700693
Debug::print(Debug::FindMembers,0,
"5b. 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(memType,funcType))
{
......
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