summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-10-13 11:23:29 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-10-13 11:23:29 (GMT)
commit2c93aa6fb588279dbd903831acad949c71681ca6 (patch)
tree591bdedd85146023071977459fe218cc88f95ab0
parent5d224ef681b0b15736be1fae76c873a0b2f18f5d (diff)
downloadDoxygen-2c93aa6fb588279dbd903831acad949c71681ca6.zip
Doxygen-2c93aa6fb588279dbd903831acad949c71681ca6.tar.gz
Doxygen-2c93aa6fb588279dbd903831acad949c71681ca6.tar.bz2
Bug 709052 - Templated and non-templated method mixup documentation
-rw-r--r--src/doxygen.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index 92ba868..5b7ba1d 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -6132,6 +6132,14 @@ static void findMember(EntryNav *rootNav,
matching = FALSE;
}
}
+ else if (md->templateArguments()!=0 || root->tArgLists!=0)
+ {
+ // Method with template return type does not match method without return type
+ // even if the parameters are the same. See also bug709052
+ Debug::print(Debug::FindMembers,0,
+ "5b. Comparing return types: template v.s. non-template\n");
+ matching = FALSE;
+ }
Debug::print(Debug::FindMembers,0,