summaryrefslogtreecommitdiffstats
path: root/Source/cmMacroCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-22 23:32:51 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-25 11:45:00 (GMT)
commit094f01d0f019147afbdfc1c18ad1a6ca232eb3b8 (patch)
treec21fa56b9092c742d7dc371d523b5a80b2330f03 /Source/cmMacroCommand.h
parent55671b41d2d182ce8d3201012ec55badd7116615 (diff)
downloadCMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.zip
CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.gz
CMake-094f01d0f019147afbdfc1c18ad1a6ca232eb3b8.tar.bz2
cleanup: Prefer compiler provided special member functions
Diffstat (limited to 'Source/cmMacroCommand.h')
-rw-r--r--Source/cmMacroCommand.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmMacroCommand.h b/Source/cmMacroCommand.h
index 8f5f540..b54ed66 100644
--- a/Source/cmMacroCommand.h
+++ b/Source/cmMacroCommand.h
@@ -18,15 +18,13 @@ class cmMakefile;
class cmMacroFunctionBlocker : public cmFunctionBlocker
{
public:
- cmMacroFunctionBlocker() { this->Depth = 0; }
- ~cmMacroFunctionBlocker() 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 macro() ... endmacro() block