summaryrefslogtreecommitdiffstats
path: root/Source/cmDynamicLoader.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-23 20:50:47 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-24 20:03:06 (GMT)
commitd6f0006c0b12c74df2d93170262a017f15949320 (patch)
tree79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/cmDynamicLoader.h
parent3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff)
downloadCMake-d6f0006c0b12c74df2d93170262a017f15949320.zip
CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz
CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.bz2
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/cmDynamicLoader.h')
-rw-r--r--Source/cmDynamicLoader.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/cmDynamicLoader.h b/Source/cmDynamicLoader.h
index dd69b40..7c46dd5 100644
--- a/Source/cmDynamicLoader.h
+++ b/Source/cmDynamicLoader.h
@@ -8,12 +8,14 @@
#ifndef cmDynamicLoader_h
#define cmDynamicLoader_h
-#include "cmConfigure.h" // IWYU pragma: keep
+#include "cmConfigure.h"
#include "cmsys/DynamicLoader.hxx" // IWYU pragma: export
class cmDynamicLoader
{
+ CM_DISABLE_COPY(cmDynamicLoader)
+
public:
// Description:
// Load a dynamic library into the current process.
@@ -28,10 +30,6 @@ public:
protected:
cmDynamicLoader() {}
~cmDynamicLoader() {}
-
-private:
- cmDynamicLoader(const cmDynamicLoader&); // Not implemented.
- void operator=(const cmDynamicLoader&); // Not implemented.
};
#endif