summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-05-05 14:23:52 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-05-05 14:23:52 (GMT)
commita216d135700190d0b064c872d5c78a286c3682c4 (patch)
treeac2df5c5192d4c347458fc529d606ef72da4f6c5 /src/classdef.cpp
parentc637dede9ec30c2e35f19636edc0b3fd424b45e5 (diff)
downloadDoxygen-a216d135700190d0b064c872d5c78a286c3682c4.zip
Doxygen-a216d135700190d0b064c872d5c78a286c3682c4.tar.gz
Doxygen-a216d135700190d0b064c872d5c78a286c3682c4.tar.bz2
Add const correctness for argument lists
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index c6d1bca..19c8fac 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -3697,8 +3697,8 @@ void ClassDefImpl::mergeMembers()
if (srcCd==dstCd || dstCd->isBaseClass(srcCd,TRUE))
// member is in the same or a base class
{
- ArgumentList *srcAl = srcMd->argumentList();
- ArgumentList *dstAl = dstMd->argumentList();
+ const ArgumentList *srcAl = srcMd->argumentList();
+ const ArgumentList *dstAl = dstMd->argumentList();
found=matchArguments2(
srcMd->getOuterScope(),srcMd->getFileDef(),srcAl,
dstMd->getOuterScope(),dstMd->getFileDef(),dstAl,