summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 3ba2c22..d0902b1 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -3,7 +3,7 @@
#ifndef cmSystemTools_h
#define cmSystemTools_h
-#include "cmConfigure.h" // IWYU pragma: keep
+#include "cmConfigure.h"
#include "cmProcessOutput.h"
#include "cmsys/Process.h"
@@ -379,14 +379,12 @@ public:
original environment. */
class SaveRestoreEnvironment
{
+ CM_DISABLE_COPY(SaveRestoreEnvironment)
public:
SaveRestoreEnvironment();
~SaveRestoreEnvironment();
private:
- SaveRestoreEnvironment(SaveRestoreEnvironment const&);
- SaveRestoreEnvironment& operator=(SaveRestoreEnvironment const&);
-
std::vector<std::string> Env;
};
#endif