Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
a1df9c36
Commit
a1df9c36
authored
Aug 23, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential assert when members of base class were not yet counted
parent
fda84270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
classdef.cpp
src/classdef.cpp
+2
-0
No files found.
src/classdef.cpp
View file @
a1df9c36
...
...
@@ -4102,11 +4102,13 @@ int ClassDef::countMemberDeclarations(MemberListType lt,ClassDef *inheritedFrom,
{
if
(
ml
)
{
ml
->
countDecMembers
();
count
+=
ml
->
numDecMembers
();
//printf("-> ml=%d\n",ml->numDecMembers());
}
if
(
ml2
)
{
ml2
->
countDecMembers
();
count
+=
ml2
->
numDecMembers
();
//printf("-> ml2=%d\n",ml2->numDecMembers());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment