summaryrefslogtreecommitdiffstats
path: root/Source/cmForEachCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-22 15:46:09 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-22 15:46:09 (GMT)
commit38ee28bfd501e0d29650bc2fbd08eaec416eade3 (patch)
treeb5e515cf444630acbfab635697f9ccd0dbc57e2a /Source/cmForEachCommand.h
parent49988996c1eb59df2986ad57d2207e14da5e14d9 (diff)
parent5d85fb4f407cd661fb904f68e2c9cc27ddcc0331 (diff)
downloadCMake-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.h5
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;
};