From 45b49099d9dd034fd1e7344b3bae88b0e3d3427a Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Sun, 25 Dec 2016 23:50:18 +0100 Subject: cmCommand: make noncopyable --- Source/cmCommand.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmCommand.h b/Source/cmCommand.h index ff30638..32f4472 100644 --- a/Source/cmCommand.h +++ b/Source/cmCommand.h @@ -107,6 +107,10 @@ public: /** Check if the command is disallowed by a policy. */ bool Disallowed(cmPolicies::PolicyID pol, const char* e); +private: + cmCommand(cmCommand const&); // = delete; + cmCommand& operator=(cmCommand const&); // = delete; + protected: cmMakefile* Makefile; -- cgit v0.12