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/cmDefinePropertyCommand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/cmDefinePropertyCommand.h') diff --git a/Source/cmDefinePropertyCommand.h b/Source/cmDefinePropertyCommand.h index 43f6c58599..a9c1856180 100644 --- a/Source/cmDefinePropertyCommand.h +++ b/Source/cmDefinePropertyCommand.h @@ -15,14 +15,14 @@ class cmExecutionStatus; class cmDefinePropertyCommand : public cmCommand { public: - cmCommand* Clone() CM_OVERRIDE { return new cmDefinePropertyCommand; } + cmCommand* Clone() override { return new cmDefinePropertyCommand; } /** * This is called when the command is first encountered in * the input file. */ bool InitialPass(std::vector const& args, - cmExecutionStatus& status) CM_OVERRIDE; + cmExecutionStatus& status) override; private: std::string PropertyName; -- cgit v1.2.1