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/cmDependsC.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/cmDependsC.h')
-rw-r--r-- | Source/cmDependsC.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h index 4f52826..250d40f 100644 --- a/Source/cmDependsC.h +++ b/Source/cmDependsC.h @@ -22,6 +22,8 @@ class cmLocalGenerator; */ class cmDependsC : public cmDepends { + CM_DISABLE_COPY(cmDependsC) + public: /** Checking instances need to know the build directory name and the relative path from the build directory to the target file. */ @@ -93,10 +95,6 @@ protected: void WriteCacheFile() const; void ReadCacheFile(); - -private: - cmDependsC(cmDependsC const&); // Purposely not implemented. - void operator=(cmDependsC const&); // Purposely not implemented. }; #endif |