Merge topic 'CM_OVERRIDE-clang'
3f77655d
CM_OVERRIDE: fix feature test for clang
This commit is contained in:
commit
0639e23920
|
@ -1,11 +1,13 @@
|
||||||
struct Foo
|
struct Foo
|
||||||
{
|
{
|
||||||
|
Foo() {}
|
||||||
virtual ~Foo() {}
|
virtual ~Foo() {}
|
||||||
virtual int test() const = 0;
|
virtual int test() const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Bar : Foo
|
struct Bar : Foo
|
||||||
{
|
{
|
||||||
|
Bar() {}
|
||||||
~Bar() override {}
|
~Bar() override {}
|
||||||
int test() const override { return 0; }
|
int test() const override { return 0; }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue