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

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

parent bab453f8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;