summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-04-09 18:59:23 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-04-09 18:59:23 (GMT)
commitbc83eb68e2fd31faa4b1ca7bb6610b30c0a24659 (patch)
tree183fb375621cff88a1b15e2afadaf52e99f859fe /src/code.l
parent7464fdd7d4a3efd97dbc24c171556d7683648c8d (diff)
downloadDoxygen-bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659.zip
Doxygen-bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659.tar.gz
Doxygen-bc83eb68e2fd31faa4b1ca7bb6610b30c0a24659.tar.bz2
Fixed shadowing issue in getFortranDefs and other shadowing cases
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code.l b/src/code.l
index a5222f7..a01f0f8 100644
--- a/src/code.l
+++ b/src/code.l
@@ -588,8 +588,8 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
auto it = std::find_if(fn->begin(),
fn->end(),
[&sfd=yyextra->sourceFileDef]
- (const auto &fd)
- { return sfd->isIncluded(fd->absFilePath()); });
+ (const auto &lfd)
+ { return sfd->isIncluded(lfd->absFilePath()); });
found = it!=fn->end();
}
}