diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-08-24 09:05:08 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-08-24 09:05:08 (GMT) |
commit | 8578e6bead66cae44b61214b3a43f776ed008362 (patch) | |
tree | 960824dc207870a6fbe6cc9cbfc294d9ea0a481f /src/doxygen.cpp | |
parent | 61e31b90708d501904665f85cfd3ea1b826b7afa (diff) | |
download | Doxygen-8578e6bead66cae44b61214b3a43f776ed008362.zip Doxygen-8578e6bead66cae44b61214b3a43f776ed008362.tar.gz Doxygen-8578e6bead66cae44b61214b3a43f776ed008362.tar.bz2 |
issue #7973: C++ grouped functions in namespace have disapeard
- reverted some of the change that introduced the problem
- fixed the original problem (#7216) in a different way
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r-- | src/doxygen.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp index aa091f9..4b5c267 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -3680,17 +3680,18 @@ static void transferFunctionReferences() { MemberDef *mdef=0,*mdec=0; /* find a matching function declaration and definition for this function */ - for (const auto &md : *mn) + for (const auto &md_p : *mn) { + MemberDef *md = md_p.get(); if (md->isPrototype()) - mdec=md.get(); + mdec=md; else if (md->isVariable() && md->isExternal()) - mdec=md.get(); + mdec=md; if (md->isFunction() && !md->isStatic() && !md->isPrototype()) - mdef=md.get(); + mdef=md; else if (md->isVariable() && !md->isExternal() && !md->isStatic()) - mdef=md.get(); + mdef=md; if (mdef && mdec) break; } |