various warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4bb0e64213
commit
3463ced917
5 changed files with 22 additions and 17 deletions
|
|
@ -7,26 +7,25 @@ using namespace std;
|
|||
class Bar
|
||||
{
|
||||
public:
|
||||
virtual void bar ()
|
||||
{
|
||||
cout << "bar" << endl;
|
||||
}
|
||||
virtual void bar () {
|
||||
cout << "bar" << endl;
|
||||
}
|
||||
virtual ~Bar() {}
|
||||
};
|
||||
|
||||
class Foo
|
||||
{
|
||||
public:
|
||||
virtual void foo ()
|
||||
{
|
||||
cout << "foo" << endl;
|
||||
}
|
||||
virtual void foo () {
|
||||
cout << "foo" << endl;
|
||||
}
|
||||
virtual ~Foo() {}
|
||||
};
|
||||
|
||||
class Foo_Bar : public Foo, public Bar
|
||||
{
|
||||
public:
|
||||
virtual void fooBar ()
|
||||
{
|
||||
cout << "foobar" << endl;
|
||||
}
|
||||
virtual void fooBar () {
|
||||
cout << "foobar" << endl;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue