clang-tidy: Use = delete

This commit is contained in:
Regina Pfeifer
2019-01-23 20:30:01 +01:00
committed by Brad King
parent d75fec5a88
commit b05b778a2d
58 changed files with 209 additions and 139 deletions

View File

@@ -17,8 +17,6 @@
*/
class cmDependsJava : public cmDepends
{
CM_DISABLE_COPY(cmDependsJava)
public:
/** Checking instances need to know the build directory name and the
relative path from the build directory to the target file. */
@@ -27,6 +25,9 @@ public:
/** Virtual destructor to cleanup subclasses properly. */
~cmDependsJava() override;
cmDependsJava(cmDependsJava const&) = delete;
cmDependsJava& operator=(cmDependsJava const&) = delete;
protected:
// Implement writing/checking methods required by superclass.
bool WriteDependencies(const std::set<std::string>& sources,