summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFile.h
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/cmSourceFile.h
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/cmSourceFile.h')
-rw-r--r--Source/cmSourceFile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSourceFile.h b/Source/cmSourceFile.h
index a82a58a..d579018 100644
--- a/Source/cmSourceFile.h
+++ b/Source/cmSourceFile.h
@@ -34,6 +34,9 @@ public:
~cmSourceFile();
+ cmSourceFile(const cmSourceFile&) = delete;
+ cmSourceFile& operator=(const cmSourceFile&) = delete;
+
/**
* Get the list of the custom commands for this source file
*/