diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-01-23 19:30:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-29 19:09:21 (GMT) |
commit | b05b778a2dfbcb6978d652dfa27bd52cc649f736 (patch) | |
tree | 93eb16efaa0aa9209a47e48ee7cedea1753dc88a /Source/cmDepends.h | |
parent | d75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff) | |
download | CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.zip CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.gz CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.bz2 |
clang-tidy: Use `= delete`
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r-- | Source/cmDepends.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h index c5e1d5b..20c91ca 100644 --- a/Source/cmDepends.h +++ b/Source/cmDepends.h @@ -24,13 +24,14 @@ 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. */ cmDepends(cmLocalGenerator* lg = nullptr, std::string targetDir = ""); + cmDepends(cmDepends const&) = delete; + cmDepends& operator=(cmDepends const&) = delete; + /** Set the local generator for the directory in which we are scanning dependencies. This is not a full local generator; it has been setup to do relative path conversions for the current |