diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-23 20:50:47 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-24 20:03:06 (GMT) |
commit | d6f0006c0b12c74df2d93170262a017f15949320 (patch) | |
tree | 79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/cmScriptGenerator.h | |
parent | 3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff) | |
download | CMake-d6f0006c0b12c74df2d93170262a017f15949320.zip CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.bz2 |
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/cmScriptGenerator.h')
-rw-r--r-- | Source/cmScriptGenerator.h | 7 |
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); }; |