summaryrefslogtreecommitdiffstats
path: root/src/perlmodgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-04-27 07:21:21 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-04-27 07:21:21 (GMT)
commit6f7443e86a2b6633fafeba5e8baa0941c22c757d (patch)
tree5a4d269570b40e3ab12d0733a44f04175fb79e7f /src/perlmodgen.cpp
parent30f8609975062896b0cd43b739310ab8d667ea82 (diff)
downloadDoxygen-6f7443e86a2b6633fafeba5e8baa0941c22c757d.zip
Doxygen-6f7443e86a2b6633fafeba5e8baa0941c22c757d.tar.gz
Doxygen-6f7443e86a2b6633fafeba5e8baa0941c22c757d.tar.bz2
Refactoring: Improve encapsulation of MemberInfo class
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r--src/perlmodgen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp
index 3c44b69..04ddfb4 100644
--- a/src/perlmodgen.cpp
+++ b/src/perlmodgen.cpp
@@ -1760,7 +1760,7 @@ void PerlModGenerator::addListOfAllMembers(const ClassDef *cd)
MemberInfo *mi;
for (mii.toFirst();(mi=mii.current());++mii)
{
- const MemberDef *md=mi->memberDef;
+ const MemberDef *md=mi->memberDef();
const ClassDef *mcd=md->getClassDef();
const Definition *d=md->getGroupDef();
if (d==0) d = mcd;
@@ -1768,10 +1768,10 @@ void PerlModGenerator::addListOfAllMembers(const ClassDef *cd)
m_output.openHash()
.addFieldQuotedString("name", md->name())
.addFieldQuotedString("virtualness", getVirtualnessName(md->virtualness()))
- .addFieldQuotedString("protection", getProtectionName(mi->prot));
+ .addFieldQuotedString("protection", getProtectionName(mi->prot()));
- if (!mi->ambiguityResolutionScope.isEmpty())
- m_output.addFieldQuotedString("ambiguity_scope", mi->ambiguityResolutionScope);
+ if (!mi->ambiguityResolutionScope().isEmpty())
+ m_output.addFieldQuotedString("ambiguity_scope", mi->ambiguityResolutionScope());
m_output.addFieldQuotedString("scope", mcd->name())
.closeHash();