summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkLineComputer.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/cmLinkLineComputer.h
parent3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff)
downloadCMake-d6f0006c0b12c74df2d93170262a017f15949320.zip
CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz
CMake-d6f0006c0b12c74df2d93170262a017f15949320.tar.bz2
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/cmLinkLineComputer.h')
-rw-r--r--Source/cmLinkLineComputer.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmLinkLineComputer.h b/Source/cmLinkLineComputer.h
index d8dacf3..27b8adb 100644
--- a/Source/cmLinkLineComputer.h
+++ b/Source/cmLinkLineComputer.h
@@ -4,7 +4,7 @@
#ifndef cmLinkLineComputer_h
#define cmLinkLineComputer_h
-#include "cmConfigure.h" // IWYU pragma: keep
+#include "cmConfigure.h"
#include <string>
@@ -16,6 +16,8 @@ class cmOutputConverter;
class cmLinkLineComputer
{
+ CM_DISABLE_COPY(cmLinkLineComputer)
+
public:
cmLinkLineComputer(cmOutputConverter* outputConverter,
cmStateDirectory stateDir);
@@ -41,9 +43,6 @@ public:
std::string const& config);
protected:
- cmLinkLineComputer(cmLinkLineComputer const&);
- cmLinkLineComputer& operator=(cmLinkLineComputer const&);
-
std::string ComputeLinkLibs(cmComputeLinkInformation& cli);
std::string ComputeRPath(cmComputeLinkInformation& cli);