summaryrefslogtreecommitdiff
path: root/Source/cmDepends.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-23 20:30:01 +0100
committerBrad King <brad.king@kitware.com>2019-01-29 14:09:21 -0500
commitb05b778a2dfbcb6978d652dfa27bd52cc649f736 (patch)
tree93eb16efaa0aa9209a47e48ee7cedea1753dc88a /Source/cmDepends.h
parentd75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff)
downloadcmake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.gz
clang-tidy: Use `= delete`
Diffstat (limited to 'Source/cmDepends.h')
-rw-r--r--Source/cmDepends.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmDepends.h b/Source/cmDepends.h
index c5e1d5bd9f..20c91ca57b 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