summaryrefslogtreecommitdiffstats
path: root/src/vhdldocgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-02-28 19:57:32 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-02-28 19:57:32 (GMT)
commit377b58252850bef89907bc383f5c3cca9abb8beb (patch)
treefb5ce28720b56945588c77c3f5ab19c61cc8ef32 /src/vhdldocgen.cpp
parentd562d7a4bf3cec36858bdc8b01245da042024817 (diff)
parent960bae7191faf07f142b1ae5b0038905d33e2b1f (diff)
downloadDoxygen-377b58252850bef89907bc383f5c3cca9abb8beb.zip
Doxygen-377b58252850bef89907bc383f5c3cca9abb8beb.tar.gz
Doxygen-377b58252850bef89907bc383f5c3cca9abb8beb.tar.bz2
Merge branch 'abstract_intf'
Diffstat (limited to 'src/vhdldocgen.cpp')
-rw-r--r--src/vhdldocgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp
index 808b32b..e70f099 100644
--- a/src/vhdldocgen.cpp
+++ b/src/vhdldocgen.cpp
@@ -1798,7 +1798,7 @@ static void setGlobalType(MemberList *ml)
/* writes a vhdl type documentation */
bool VhdlDocGen::writeVHDLTypeDocumentation(const MemberDef* mdef, const Definition *d, OutputList &ol)
{
- ClassDef *cd=(ClassDef*)d;
+ const ClassDef *cd=dynamic_cast<const ClassDef*>(d);
bool hasParams = FALSE;
if (cd==0) return hasParams;
@@ -2984,7 +2984,7 @@ static void addInstance(ClassDef* classEntity, ClassDef* ar,
ferr:
QCString uu=cur->name;
- MemberDef *md=new MemberDef(
+ MemberDef *md=createMemberDef(
ar->getDefFileName(), cur->startLine,cur->startColumn,
n1,uu,uu, 0,
Public, Normal, cur->stat,Member,