diff options
Diffstat (limited to 'Source/cmWhileCommand.h')
-rw-r--r-- | Source/cmWhileCommand.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h index 9fafffc09b..85a0bd327b 100644 --- a/Source/cmWhileCommand.h +++ b/Source/cmWhileCommand.h @@ -19,8 +19,8 @@ class cmWhileFunctionBlocker : public cmFunctionBlocker { public: - cmWhileFunctionBlocker() {this->Depth=0;} - virtual ~cmWhileFunctionBlocker() {} + cmWhileFunctionBlocker(cmMakefile* mf); + ~cmWhileFunctionBlocker(); virtual bool IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf, cmExecutionStatus &); @@ -29,6 +29,7 @@ public: std::vector<cmListFileArgument> Args; std::vector<cmListFileFunction> Functions; private: + cmMakefile* Makefile; int Depth; }; |