diff options
author | Brad King <brad.king@kitware.com> | 2019-01-30 19:00:47 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-01-30 19:00:58 (GMT) |
commit | eb2c23868fe712a0c79b3afe6618e20507c0f9f5 (patch) | |
tree | 8414fc263dd01dbcee636d531638291fd7a17c34 /Source/cmGeneratorExpressionEvaluator.h | |
parent | 748d024551d8f447046363ad617fc72bdd977fd2 (diff) | |
parent | b05b778a2dfbcb6978d652dfa27bd52cc649f736 (diff) | |
download | CMake-eb2c23868fe712a0c79b3afe6618e20507c0f9f5.zip CMake-eb2c23868fe712a0c79b3afe6618e20507c0f9f5.tar.gz CMake-eb2c23868fe712a0c79b3afe6618e20507c0f9f5.tar.bz2 |
Merge topic 'tidy-use-equals-delete'
b05b778a2d clang-tidy: Use `= delete`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Rejected-by: vvs31415 <vstakhovsky@fastmail.com>
Merge-request: !2848
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.h')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.h b/Source/cmGeneratorExpressionEvaluator.h index 0f553f2..4530152 100644 --- a/Source/cmGeneratorExpressionEvaluator.h +++ b/Source/cmGeneratorExpressionEvaluator.h @@ -19,6 +19,11 @@ struct cmGeneratorExpressionEvaluator cmGeneratorExpressionEvaluator() = default; virtual ~cmGeneratorExpressionEvaluator() = default; + cmGeneratorExpressionEvaluator(cmGeneratorExpressionEvaluator const&) = + delete; + cmGeneratorExpressionEvaluator& operator=( + cmGeneratorExpressionEvaluator const&) = delete; + enum Type { Text, @@ -29,9 +34,6 @@ struct cmGeneratorExpressionEvaluator virtual std::string Evaluate(cmGeneratorExpressionContext* context, cmGeneratorExpressionDAGChecker*) const = 0; - -private: - CM_DISABLE_COPY(cmGeneratorExpressionEvaluator) }; struct TextContent : public cmGeneratorExpressionEvaluator |