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

@@ -27,12 +27,13 @@ class cmTarget;
class cmGeneratorTarget
{
CM_DISABLE_COPY(cmGeneratorTarget)
public:
cmGeneratorTarget(cmTarget*, cmLocalGenerator* lg);
~cmGeneratorTarget();
cmGeneratorTarget(cmGeneratorTarget const&) = delete;
cmGeneratorTarget& operator=(cmGeneratorTarget const&) = delete;
cmLocalGenerator* GetLocalGenerator() const;
cmGlobalGenerator* GetGlobalGenerator() const;