mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 17:25:11 +08:00
make BaseFunc virtual, too
From-SVN: r45277
This commit is contained in:
parent
c63b1ae8a1
commit
d0d19c87a6
@ -8,7 +8,7 @@ struct A {
|
||||
|
||||
class CBase {
|
||||
public:
|
||||
void BaseFunc();
|
||||
virtual void BaseFunc();
|
||||
};
|
||||
|
||||
class MMixin {
|
||||
|
@ -11,7 +11,7 @@ struct A {
|
||||
|
||||
class CBase {
|
||||
public:
|
||||
void BaseFunc();
|
||||
virtual void BaseFunc();
|
||||
};
|
||||
|
||||
class MMixin {
|
||||
|
@ -14,7 +14,7 @@ struct A {
|
||||
|
||||
class CBase {
|
||||
public:
|
||||
void BaseFunc();
|
||||
virtual void BaseFunc();
|
||||
};
|
||||
|
||||
class MMixin {
|
||||
|
Loading…
Reference in New Issue
Block a user