diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-01-22 23:32:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-01-25 11:45:00 (GMT) |
commit | 094f01d0f019147afbdfc1c18ad1a6ca232eb3b8 (patch) | |
tree | c21fa56b9092c742d7dc371d523b5a80b2330f03 /Source/cmFunctionCommand.h | |
parent | 55671b41d2d182ce8d3201012ec55badd7116615 (diff) | |
download | CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.zip CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.gz CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.bz2 |
cleanup: Prefer compiler provided special member functions
Diffstat (limited to 'Source/cmFunctionCommand.h')
-rw-r--r-- | Source/cmFunctionCommand.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmFunctionCommand.h b/Source/cmFunctionCommand.h index 90f7d82..8b37df0 100644 --- a/Source/cmFunctionCommand.h +++ b/Source/cmFunctionCommand.h @@ -18,15 +18,13 @@ class cmMakefile; class cmFunctionFunctionBlocker : public cmFunctionBlocker { public: - cmFunctionFunctionBlocker() { this->Depth = 0; } - ~cmFunctionFunctionBlocker() override = default; bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile& mf, cmExecutionStatus&) override; bool ShouldRemove(const cmListFileFunction&, cmMakefile& mf) override; std::vector<std::string> Args; std::vector<cmListFileFunction> Functions; - int Depth; + int Depth = 0; }; /// Starts function() ... endfunction() block |