diff options
author | Brad King <brad.king@kitware.com> | 2019-02-18 14:04:51 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-02-18 14:05:30 (GMT) |
commit | 03e10384ecb779ba6e02028d6833c5e8cd3541c5 (patch) | |
tree | e047b7a811df56c09eace140841b28ea1d0d0da6 /Source/cmMakefile.cxx | |
parent | d2489f2fde0adad51272b83e44957860f7b4c57f (diff) | |
parent | ae5e97a00568d15dedea073b58668e646e3c0d2e (diff) | |
download | CMake-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/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index b0dacf1..560181f 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -348,6 +348,9 @@ public: this->Makefile->Backtrace = this->Makefile->Backtrace.Pop(); } + cmMakefileCall(const cmMakefileCall&) = delete; + cmMakefileCall& operator=(const cmMakefileCall&) = delete; + private: cmMakefile* Makefile; }; @@ -439,6 +442,9 @@ public: ~IncludeScope(); void Quiet() { this->ReportError = false; } + IncludeScope(const IncludeScope&) = delete; + IncludeScope& operator=(const IncludeScope&) = delete; + private: cmMakefile* Makefile; bool NoPolicyScope; @@ -606,6 +612,9 @@ public: void Quiet() { this->ReportError = false; } + ListFileScope(const ListFileScope&) = delete; + ListFileScope& operator=(const ListFileScope&) = delete; + private: cmMakefile* Makefile; bool ReportError; @@ -1497,6 +1506,9 @@ public: void Quiet() { this->ReportError = false; } + BuildsystemFileScope(const BuildsystemFileScope&) = delete; + BuildsystemFileScope& operator=(const BuildsystemFileScope&) = delete; + private: cmMakefile* Makefile; cmGlobalGenerator* GG; |