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/cmDependsFortran.h | |
parent | d75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff) | |
download | CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.zip CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.gz CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.bz2 |
clang-tidy: Use `= delete`
Diffstat (limited to 'Source/cmDependsFortran.h')
-rw-r--r-- | Source/cmDependsFortran.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h index f5f5be2..bf09904 100644 --- a/Source/cmDependsFortran.h +++ b/Source/cmDependsFortran.h @@ -21,8 +21,6 @@ class cmLocalGenerator; */ class cmDependsFortran : public cmDepends { - CM_DISABLE_COPY(cmDependsFortran) - public: /** Checking instances need to know the build directory name and the relative path from the build directory to the target file. */ @@ -37,6 +35,9 @@ public: /** Virtual destructor to cleanup subclasses properly. */ ~cmDependsFortran() override; + cmDependsFortran(cmDependsFortran const&) = delete; + cmDependsFortran& operator=(cmDependsFortran const&) = delete; + /** Callback from build system after a .mod file has been generated by a Fortran90 compiler to copy the .mod file to the corresponding stamp file. */ |