From b05b778a2dfbcb6978d652dfa27bd52cc649f736 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Wed, 23 Jan 2019 20:30:01 +0100 Subject: clang-tidy: Use `= delete` --- Source/cmVisualStudio10TargetGenerator.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Source/cmVisualStudio10TargetGenerator.h') diff --git a/Source/cmVisualStudio10TargetGenerator.h b/Source/cmVisualStudio10TargetGenerator.h index 7d24e888c2..590100496d 100644 --- a/Source/cmVisualStudio10TargetGenerator.h +++ b/Source/cmVisualStudio10TargetGenerator.h @@ -25,12 +25,16 @@ class cmVS10GeneratorOptions; class cmVisualStudio10TargetGenerator { - CM_DISABLE_COPY(cmVisualStudio10TargetGenerator) - public: cmVisualStudio10TargetGenerator(cmGeneratorTarget* target, cmGlobalVisualStudio10Generator* gg); ~cmVisualStudio10TargetGenerator(); + + cmVisualStudio10TargetGenerator(cmVisualStudio10TargetGenerator const&) = + delete; + cmVisualStudio10TargetGenerator& operator=( + cmVisualStudio10TargetGenerator const&) = delete; + void Generate(); private: -- cgit v1.2.1