Fix crash for classes with ignored base class
This fixes class_ignore.cpptest.
This commit is contained in:
parent
c5cd287ec6
commit
cc76e3a1d7
2 changed files with 2 additions and 2 deletions
|
|
@ -983,7 +983,8 @@ public:
|
|||
first_base_ = Copy(i.item);
|
||||
}
|
||||
|
||||
Printv(base_classes, " : public ", Getattr(first_base_, "sym:name"), NIL);
|
||||
if (first_base_)
|
||||
Printv(base_classes, " : public ", Getattr(first_base_, "sym:name"), NIL);
|
||||
}
|
||||
|
||||
Printv(cxx_wrappers_.sect_types,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue