diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-13 11:23:29 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-10-13 11:23:29 (GMT) |
commit | 2c93aa6fb588279dbd903831acad949c71681ca6 (patch) | |
tree | 591bdedd85146023071977459fe218cc88f95ab0 /src/doxygen.cpp | |
parent | 5d224ef681b0b15736be1fae76c873a0b2f18f5d (diff) | |
download | Doxygen-2c93aa6fb588279dbd903831acad949c71681ca6.zip Doxygen-2c93aa6fb588279dbd903831acad949c71681ca6.tar.gz Doxygen-2c93aa6fb588279dbd903831acad949c71681ca6.tar.bz2 |
Bug 709052 - Templated and non-templated method mixup documentation
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 8 |
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, |