diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-05-05 11:47:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-05-05 11:47:17 (GMT) |
commit | 1854ad69bf183f34c937145eba437f653ef67f0b (patch) | |
tree | 96f2882cda1fb6e0a73175bae857ff1716267b86 /src/util.cpp | |
parent | 52e32ead5d8152d75a18f3cc7f4b7e5c7bb38b29 (diff) | |
download | Doxygen-1854ad69bf183f34c937145eba437f653ef67f0b.zip Doxygen-1854ad69bf183f34c937145eba437f653ef67f0b.tar.gz Doxygen-1854ad69bf183f34c937145eba437f653ef67f0b.tar.bz2 |
Further const correctness changes
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util.cpp b/src/util.cpp index 2719c73..5c66dd1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -2080,7 +2080,7 @@ void linkifyText(const TextGeneratorIntf &out, const Definition *scope, bool found=FALSE; if (!insideString) { - MemberDef *md=0; + const MemberDef *md=0; const ClassDef *cd=0; const FileDef *fd=0; const NamespaceDef *nd=0; @@ -4058,7 +4058,7 @@ static void findMembersWithSpecificName(MemberName *mn, bool getDefs(const QCString &scName, const QCString &mbName, const char *args, - MemberDef *&md, + const MemberDef *&md, const ClassDef *&cd, const FileDef *&fd, const NamespaceDef *&nd, @@ -4336,7 +4336,7 @@ bool getDefs(const QCString &scName, // namespaceName.data(),mn->count()); bool found=FALSE; MemberNameIterator mmli(*mn); - MemberDef *mmd; + const MemberDef *mmd; for (mmli.toFirst();((mmd=mmli.current()) && !found);++mmli) { //printf("mmd->getNamespaceDef()=%p fnd=%p\n", @@ -4400,7 +4400,7 @@ bool getDefs(const QCString &scName, } } } - if (found) + if (found) { if (!md->isLinkable()) { @@ -4706,7 +4706,7 @@ bool resolveRef(/* in */ const char *scName, QCString scopeStr=scName; - MemberDef *md = 0; + const MemberDef *md = 0; const ClassDef *cd = 0; const FileDef *fd = 0; const NamespaceDef *nd = 0; |