From 0b33aee48b1f4027fe6086b5610434a5f29b0b8a Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 15 Sep 2017 09:56:26 -0400 Subject: Use C++11 override instead of CM_OVERRIDE We now require C++11 support including `override`. Drop use of the old compatibility macro. Convert references as follows: git grep -l CM_OVERRIDE -- '*.h' '*.hxx' '*.cxx' | xargs sed -i 's/CM_OVERRIDE/override/g' --- Source/cmSubdirDependsCommand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/cmSubdirDependsCommand.h') diff --git a/Source/cmSubdirDependsCommand.h b/Source/cmSubdirDependsCommand.h index bcda82e0f2..2db28c66c9 100644 --- a/Source/cmSubdirDependsCommand.h +++ b/Source/cmSubdirDependsCommand.h @@ -15,9 +15,9 @@ class cmExecutionStatus; class cmSubdirDependsCommand : public cmCommand { public: - cmCommand* Clone() CM_OVERRIDE { return new cmSubdirDependsCommand; } + cmCommand* Clone() override { return new cmSubdirDependsCommand; } bool InitialPass(std::vector const& args, - cmExecutionStatus& status) CM_OVERRIDE; + cmExecutionStatus& status) override; }; #endif -- cgit v1.2.1