diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-23 22:50:47 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-24 22:03:06 +0200 |
commit | d6f0006c0b12c74df2d93170262a017f15949320 (patch) | |
tree | 79e25c4662deb2b4875daca4bca61bc9e9cc4dbe /Source/cmDepends.h | |
parent | 3cb7048b521395fdc863dacacb85c6f7f28a1bc7 (diff) | |
download | cmake-d6f0006c0b12c74df2d93170262a017f15949320.tar.gz |
Use CM_DISABLE_COPY
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r-- | Source/cmDepends.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h index a80b585404..b33feb9022 100644 --- a/Source/cmDepends.h +++ b/Source/cmDepends.h @@ -24,6 +24,8 @@ class cmLocalGenerator; */ class cmDepends { + CM_DISABLE_COPY(cmDepends) + public: /** Instances need to know the build directory name and the relative path from the build directory to the target file. */ @@ -116,10 +118,6 @@ protected: std::vector<std::string> IncludePath; void SetIncludePathFromLanguage(const std::string& lang); - -private: - cmDepends(cmDepends const&); // Purposely not implemented. - void operator=(cmDepends const&); // Purposely not implemented. }; #endif |