diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-20 10:46:57 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-20 10:46:57 (GMT) |
commit | 6deada308a5182b6dfb14717bac349614d0337bd (patch) | |
tree | 0cccc14004b0005b35a7e86acd41726a4bb2fa3a | |
parent | addd6773786a13382ed5f52bc5d197e01bb2b6a3 (diff) | |
download | Doxygen-6deada308a5182b6dfb14717bac349614d0337bd.zip Doxygen-6deada308a5182b6dfb14717bac349614d0337bd.tar.gz Doxygen-6deada308a5182b6dfb14717bac349614d0337bd.tar.bz2 |
Bug 700693 - Duplicate entry for class template member function with no parameter
-rw-r--r-- | src/doxygen.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index 4c5a8d0..23a936a 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -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)) { |