summaryrefslogtreecommitdiffstats
path: root/khotkeys
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-15 01:42:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-15 01:42:27 -0500
commit33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf (patch)
treec0e8602e542fea86d7f2ad1328bc829fbf4d21af /khotkeys
parentc76c56d443f7379308f3a47ad8d3ce2e4647f984 (diff)
downloadtdebase-33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf.tar.gz
tdebase-33aada30d9c1acdf0ff7a9e37a9de3cae0ad24cf.zip
Fix covariant return check
This partially resolves Bug 1025 Thanks to 'Nix' for the patch!
Diffstat (limited to 'khotkeys')
-rw-r--r--khotkeys/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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(); };