diff options
author | Brad King <brad.king@kitware.com> | 2015-06-22 15:46:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-22 15:46:09 (GMT) |
commit | 38ee28bfd501e0d29650bc2fbd08eaec416eade3 (patch) | |
tree | b5e515cf444630acbfab635697f9ccd0dbc57e2a /Source/cmForEachCommand.h | |
parent | 49988996c1eb59df2986ad57d2207e14da5e14d9 (diff) | |
parent | 5d85fb4f407cd661fb904f68e2c9cc27ddcc0331 (diff) | |
download | CMake-38ee28bfd501e0d29650bc2fbd08eaec416eade3.zip CMake-38ee28bfd501e0d29650bc2fbd08eaec416eade3.tar.gz CMake-38ee28bfd501e0d29650bc2fbd08eaec416eade3.tar.bz2 |
Merge branch 'fix-function-missing-end' into release
Diffstat (limited to 'Source/cmForEachCommand.h')
-rw-r--r-- | Source/cmForEachCommand.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h index 9b7c85a..36e8808 100644 --- a/Source/cmForEachCommand.h +++ b/Source/cmForEachCommand.h @@ -19,8 +19,8 @@ class cmForEachFunctionBlocker : public cmFunctionBlocker { public: - cmForEachFunctionBlocker() {this->Depth = 0;} - virtual ~cmForEachFunctionBlocker() {} + cmForEachFunctionBlocker(cmMakefile* mf); + ~cmForEachFunctionBlocker(); virtual bool IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf, cmExecutionStatus &); @@ -29,6 +29,7 @@ public: std::vector<std::string> Args; std::vector<cmListFileFunction> Functions; private: + cmMakefile* Makefile; int Depth; }; |