summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-02-18 14:04:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-02-18 14:05:30 (GMT)
commit03e10384ecb779ba6e02028d6833c5e8cd3541c5 (patch)
treee047b7a811df56c09eace140841b28ea1d0d0da6 /Source/cmFileCommand.cxx
parentd2489f2fde0adad51272b83e44957860f7b4c57f (diff)
parentae5e97a00568d15dedea073b58668e646e3c0d2e (diff)
downloadCMake-03e10384ecb779ba6e02028d6833c5e8cd3541c5.zip
CMake-03e10384ecb779ba6e02028d6833c5e8cd3541c5.tar.gz
CMake-03e10384ecb779ba6e02028d6833c5e8cd3541c5.tar.bz2
Merge topic 'delete_copy_assign'
ae5e97a005 Delete some default constructors and assignment operators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2968
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index aec5a44..96c9e15 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -2691,6 +2691,9 @@ public:
}
}
+ cURLEasyGuard(const cURLEasyGuard&) = delete;
+ cURLEasyGuard& operator=(const cURLEasyGuard&) = delete;
+
void release() { this->Easy = nullptr; }
private: