make BaseFunc virtual, too

From-SVN: r45277
This commit is contained in:
Jason Merrill 2001-08-29 18:35:39 -04:00
parent c63b1ae8a1
commit d0d19c87a6
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ struct A {
class CBase {
public:
void BaseFunc();
virtual void BaseFunc();
};
class MMixin {

View File

@ -11,7 +11,7 @@ struct A {
class CBase {
public:
void BaseFunc();
virtual void BaseFunc();
};
class MMixin {

View File

@ -14,7 +14,7 @@ struct A {
class CBase {
public:
void BaseFunc();
virtual void BaseFunc();
};
class MMixin {