diff options
author | albert-github <albert.tests@gmail.com> | 2019-03-01 12:15:40 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-03-01 12:15:40 (GMT) |
commit | ab76916ebd1c0edd7973976a14b173412e305808 (patch) | |
tree | c1436a79ebc84bbc2dcfce49758e72c05426bbcb | |
parent | 25e30224977bd488c33c6f84d6cad1c5eca5e62a (diff) | |
download | Doxygen-ab76916ebd1c0edd7973976a14b173412e305808.zip Doxygen-ab76916ebd1c0edd7973976a14b173412e305808.tar.gz Doxygen-ab76916ebd1c0edd7973976a14b173412e305808.tar.bz2 |
Regression on Definition and derived classes that are abstract interfaces (2)
There was a incorrect cast which didn't show with compilers on *nix, but does on windows.
Problem occurred at least with test 58, 62 and with documentation (tclexample)
-rw-r--r-- | src/definition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 28dfb47..638b0bc 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -1279,7 +1279,7 @@ void DefinitionImpl::writeInlineCode(OutputList &ol,const char *scopeName) pIntf->resetCodeParserState(); //printf("Read:\n`%s'\n\n",codeFragment.data()); MemberDef *thisMd = 0; - if (definitionType()==TypeMember) thisMd = (MemberDef *)this; + if (definitionType()==TypeMember) thisMd = dynamic_cast <MemberDef*>(this); ol.startCodeFragment(); pIntf->parseCode(ol, // codeOutIntf |