summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-30 19:00:47 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-30 19:00:58 (GMT)
commiteb2c23868fe712a0c79b3afe6618e20507c0f9f5 (patch)
tree8414fc263dd01dbcee636d531638291fd7a17c34 /Source/cmake.h
parent748d024551d8f447046363ad617fc72bdd977fd2 (diff)
parentb05b778a2dfbcb6978d652dfa27bd52cc649f736 (diff)
downloadCMake-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/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index afd4117..314101e 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -60,8 +60,6 @@ struct cmDocumentationEntry;
class cmake
{
- CM_DISABLE_COPY(cmake)
-
public:
enum Role
{
@@ -120,6 +118,9 @@ public:
/// Destructor
~cmake();
+ cmake(cmake const&) = delete;
+ cmake& operator=(cmake const&) = delete;
+
#if defined(CMAKE_BUILD_WITH_CMAKE)
Json::Value ReportVersionJson() const;
Json::Value ReportCapabilitiesJson(bool haveServerMode) const;