summaryrefslogtreecommitdiffstats
path: root/src/pre.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/pre.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/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 3e3d2f8..18394ad 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1791,8 +1791,8 @@ static FileState *checkAndOpenFile(yyscan_t yyscanner,const QCString &fileName,b
alreadyIncluded = std::any_of(
state->includeStack.begin(),
state->includeStack.end(),
- [absName](const std::unique_ptr<FileState> &fs)
- { return fs->fileName==absName; }
+ [absName](const std::unique_ptr<FileState> &lfs)
+ { return lfs->fileName==absName; }
);
if (alreadyIncluded)