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
|
||||
{
|
||||
Foo() {}
|
||||
virtual ~Foo() {}
|
||||
virtual int test() const = 0;
|
||||
};
|
||||
|
||||
struct Bar : Foo
|
||||
{
|
||||
Bar() {}
|
||||
~Bar() override {}
|
||||
int test() const override { return 0; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue