diff options
author | Brad King <brad.king@kitware.com> | 2017-04-25 13:35:44 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-04-25 13:36:01 (GMT) |
commit | 959ad1d5e8bbd07b4111630c347ca3d69353f48b (patch) | |
tree | b2a8fa47285598ec7e368a0a6b90d78df7c7d74b /Source/cmLinkLineComputer.h | |
parent | 31f7dc4b11f92467c19a14f1d424538977aad554 (diff) | |
parent | d6f0006c0b12c74df2d93170262a017f15949320 (diff) | |
download | CMake-959ad1d5e8bbd07b4111630c347ca3d69353f48b.zip CMake-959ad1d5e8bbd07b4111630c347ca3d69353f48b.tar.gz CMake-959ad1d5e8bbd07b4111630c347ca3d69353f48b.tar.bz2 |
Merge topic 'use-disable-copy'
d6f0006c Use CM_DISABLE_COPY
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !754
Diffstat (limited to 'Source/cmLinkLineComputer.h')
-rw-r--r-- | Source/cmLinkLineComputer.h | 7 |
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); |