summaryrefslogtreecommitdiffstats
path: root/Source/cmDisallowedCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-18 14:06:42 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-18 14:06:47 (GMT)
commitce4f6354096921f7e32d6354d6550ff5724659ab (patch)
treee2b0b18fbb23c61eec1bacd971aa07179c0e9d08 /Source/cmDisallowedCommand.h
parentc29e85d009c526fb18296eb9b2c181cdad6e7e3a (diff)
parent98530d3c14a5f8002967fe73829fb105b47cc499 (diff)
downloadCMake-ce4f6354096921f7e32d6354d6550ff5724659ab.zip
CMake-ce4f6354096921f7e32d6354d6550ff5724659ab.tar.gz
CMake-ce4f6354096921f7e32d6354d6550ff5724659ab.tar.bz2
Merge topic 'cxx11-override'
98530d3c cm_codecvt: Tell IWYU to keep cmConfigure.h 4e14498f Drop now-unused definition of CM_OVERRIDE 0b33aee4 Use C++11 override instead of CM_OVERRIDE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1265
Diffstat (limited to 'Source/cmDisallowedCommand.h')
-rw-r--r--Source/cmDisallowedCommand.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/cmDisallowedCommand.h b/Source/cmDisallowedCommand.h
index d5bb79a..d85c00f 100644
--- a/Source/cmDisallowedCommand.h
+++ b/Source/cmDisallowedCommand.h
@@ -24,23 +24,20 @@ public:
{
}
- ~cmDisallowedCommand() CM_OVERRIDE { delete this->Command; }
+ ~cmDisallowedCommand() override { delete this->Command; }
- cmCommand* Clone() CM_OVERRIDE
+ cmCommand* Clone() override
{
return new cmDisallowedCommand(this->Command->Clone(), this->Policy,
this->Message);
}
bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) CM_OVERRIDE;
+ cmExecutionStatus& status) override;
- void FinalPass() CM_OVERRIDE { this->Command->FinalPass(); }
+ void FinalPass() override { this->Command->FinalPass(); }
- bool HasFinalPass() const CM_OVERRIDE
- {
- return this->Command->HasFinalPass();
- }
+ bool HasFinalPass() const override { return this->Command->HasFinalPass(); }
private:
cmCommand* Command;