summaryrefslogtreecommitdiffstats
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-25 22:50:18 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-02-13 19:48:29 (GMT)
commit45b49099d9dd034fd1e7344b3bae88b0e3d3427a (patch)
tree022a08a811d7af14e464d23d796a1d0f862eb378 /Source/cmCommand.h
parent5396bc92d0162fa9a9462e15ccaae8764da8ff98 (diff)
downloadCMake-45b49099d9dd034fd1e7344b3bae88b0e3d3427a.zip
CMake-45b49099d9dd034fd1e7344b3bae88b0e3d3427a.tar.gz
CMake-45b49099d9dd034fd1e7344b3bae88b0e3d3427a.tar.bz2
cmCommand: make noncopyable
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h4
1 files changed, 4 insertions, 0 deletions
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;