diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-04-22 14:52:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-04-22 14:52:32 (GMT) |
commit | 2c72e1c70c71966c3453d195c441e1cb69195779 (patch) | |
tree | 03d06ee113f4aa2f44cfefed8568f23c36ed2179 /src/memberlist.cpp | |
parent | fc553b0aa6669daab5e46e94c21d4d03dc1eb280 (diff) | |
download | Doxygen-2c72e1c70c71966c3453d195c441e1cb69195779.zip Doxygen-2c72e1c70c71966c3453d195c441e1cb69195779.tar.gz Doxygen-2c72e1c70c71966c3453d195c441e1cb69195779.tar.bz2 |
Fixed issue with counting member lists
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r-- | src/memberlist.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp index 62bebf6..94bb916 100644 --- a/src/memberlist.cpp +++ b/src/memberlist.cpp @@ -415,7 +415,8 @@ void MemberList::writePlainDeclarations(OutputList &ol, static bool hideUndocMembers = Config_getBool(HIDE_UNDOC_MEMBERS); if (numDecMembers()==-1) { - err("MemberList::numDecMembers()==-1, so the members of this list have not been counted. Please report as a bug."); + err("MemberList::numDecMembers()==-1, so the members of this list have not been counted. Please report as a bug.\n"); + abort(); } if (numDecMembers()<=numDecEnumValues()) { @@ -737,7 +738,8 @@ void MemberList::writeDocumentation(OutputList &ol, { if (numDocMembers()==-1) { - err("MemberList::numDocMembers()==-1, so the members of this list have not been counted. Please report as a bug."); + err("MemberList::numDocMembers()==-1, so the members of this list have not been counted. Please report as a bug.\n"); + abort(); } if (numDocMembers()==0) return; |