From 33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 15 Jun 2012 01:42:27 -0500 Subject: Fix covariant return check This partially resolves Bug 1025 Thanks to 'Nix' for the patch! --- khotkeys/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'khotkeys') diff --git a/khotkeys/CMakeLists.txt b/khotkeys/CMakeLists.txt index b2529ae04..39c84111e 100644 --- a/khotkeys/CMakeLists.txt +++ b/khotkeys/CMakeLists.txt @@ -9,7 +9,7 @@ # ################################################# -check_c_source_runs( " +check_cxx_source_runs( " class A { public: virtual A* me(); }; class X { public: int x; virtual void ff() {}; }; class B : public X, public A { public: virtual B* me(); }; -- cgit v1.2.1