summaryrefslogtreecommitdiffstats
path: root/Source/cmScriptGenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmScriptGenerator.h')
-rw-r--r--Source/cmScriptGenerator.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmScriptGenerator.h b/Source/cmScriptGenerator.h
index 4023f3e..d0879c6 100644
--- a/Source/cmScriptGenerator.h
+++ b/Source/cmScriptGenerator.h
@@ -3,7 +3,7 @@
#ifndef cmScriptGenerator_h
#define cmScriptGenerator_h
-#include "cmConfigure.h" // IWYU pragma: keep
+#include "cmConfigure.h"
#include <ostream>
#include <string>
@@ -47,6 +47,8 @@ inline std::ostream& operator<<(std::ostream& os,
*/
class cmScriptGenerator
{
+ CM_DISABLE_COPY(cmScriptGenerator)
+
public:
cmScriptGenerator(const std::string& config_var,
std::vector<std::string> const& configurations);
@@ -87,9 +89,6 @@ protected:
bool ActionsPerConfig;
private:
- cmScriptGenerator(cmScriptGenerator const&);
- cmScriptGenerator& operator=(cmScriptGenerator const&);
-
void GenerateScriptActionsOnce(std::ostream& os, Indent indent);
void GenerateScriptActionsPerConfig(std::ostream& os, Indent indent);
};