diff options
Diffstat (limited to 'Source/cmCLocaleEnvironmentScope.h')
-rw-r--r-- | Source/cmCLocaleEnvironmentScope.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmCLocaleEnvironmentScope.h b/Source/cmCLocaleEnvironmentScope.h index 1e7c42a..e956cb2 100644 --- a/Source/cmCLocaleEnvironmentScope.h +++ b/Source/cmCLocaleEnvironmentScope.h @@ -3,21 +3,20 @@ #ifndef cmCLocaleEnvironmentScope_h #define cmCLocaleEnvironmentScope_h -#include "cmConfigure.h" // IWYU pragma: keep +#include "cmConfigure.h" #include <map> #include <string> class cmCLocaleEnvironmentScope { + CM_DISABLE_COPY(cmCLocaleEnvironmentScope) + public: cmCLocaleEnvironmentScope(); ~cmCLocaleEnvironmentScope(); private: - cmCLocaleEnvironmentScope(cmCLocaleEnvironmentScope const&); - cmCLocaleEnvironmentScope& operator=(cmCLocaleEnvironmentScope const&); - std::string GetEnv(std::string const& key); void SetEnv(std::string const& key, std::string const& value); |