Commit 2c93aa6f authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 709052 - Templated and non-templated method mixup documentation

parent 5d224ef6
...@@ -6132,6 +6132,14 @@ static void findMember(EntryNav *rootNav, ...@@ -6132,6 +6132,14 @@ static void findMember(EntryNav *rootNav,
matching = FALSE; 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, Debug::print(Debug::FindMembers,0,
......
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