summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-30 13:47:28 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-06-30 13:47:28 (GMT)
commit0639e23920ee42797aad3900719e5c7f022565b7 (patch)
treec618d8f2e72de70cafefec138a20eef745c4cf0a /Source
parent2c759971e4b2a51a140e00c995bd9f062dd8df59 (diff)
parent3f77655d060ae48fabd9dc5c445cad813a70db42 (diff)
downloadCMake-0639e23920ee42797aad3900719e5c7f022565b7.zip
CMake-0639e23920ee42797aad3900719e5c7f022565b7.tar.gz
CMake-0639e23920ee42797aad3900719e5c7f022565b7.tar.bz2
Merge topic 'CM_OVERRIDE-clang'
3f77655d CM_OVERRIDE: fix feature test for clang
Diffstat (limited to 'Source')
-rw-r--r--Source/Checks/cm_cxx_override.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx_override.cxx b/Source/Checks/cm_cxx_override.cxx
index e196968..5a33fbb 100644
--- a/Source/Checks/cm_cxx_override.cxx
+++ b/Source/Checks/cm_cxx_override.cxx
@@ -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; }
};