summaryrefslogtreecommitdiff
path: root/Source/cmCLocaleEnvironmentScope.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-23 22:50:47 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-24 22:03:06 +0200
commitd6f0006c0b12c74df2d93170262a017f15949320 (patch)
tree79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/cmCLocaleEnvironmentScope.h
parent3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff)
downloadcmake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/cmCLocaleEnvironmentScope.h')
-rw-r--r--Source/cmCLocaleEnvironmentScope.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmCLocaleEnvironmentScope.h b/Source/cmCLocaleEnvironmentScope.h
index 1e7c42ada1..e956cb24d9 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);