improved warning for abstract classes and fixed a spurious warning for smart_pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b32024f2ab
commit
125e09c220
2 changed files with 27 additions and 9 deletions
|
|
@ -6,7 +6,8 @@
|
|||
{
|
||||
struct A
|
||||
{
|
||||
virtual int value(A*) = 0;
|
||||
virtual int value(A*) = 0;
|
||||
int index;
|
||||
};
|
||||
|
||||
struct B : A
|
||||
|
|
@ -21,6 +22,8 @@
|
|||
struct C
|
||||
{
|
||||
hi::B* operator->() const { return new hi::B(); }
|
||||
private:
|
||||
int index;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue