summaryrefslogtreecommitdiff
path: root/Source/cmCommand.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-26 00:34:44 +0100
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-02-13 21:37:08 +0100
commit7fb14775a3cce73dc0cb0d759b96059a95f7104b (patch)
tree586ed2e3f7d5a89bb1920bee3c54b94362d797e3 /Source/cmCommand.h
parent615e2a17e499b2bd53cce8da1a0cfae36d67b24a (diff)
downloadcmake-7fb14775a3cce73dc0cb0d759b96059a95f7104b.tar.gz
cmDisallowedCommand: extract policy checking from cmCommand
Implement cmDisallowedCommand as a wrapper class for cmCommand.
Diffstat (limited to 'Source/cmCommand.h')
-rw-r--r--Source/cmCommand.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmCommand.h b/Source/cmCommand.h
index 32f447221d..9107d85f16 100644
--- a/Source/cmCommand.h
+++ b/Source/cmCommand.h
@@ -7,8 +7,6 @@
#include <string>
#include <vector>
-#include "cmPolicies.h"
-
class cmExecutionStatus;
class cmMakefile;
struct cmListFileArgument;
@@ -104,9 +102,6 @@ public:
*/
void SetError(const std::string& e);
- /** 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;