summaryrefslogtreecommitdiffstats
path: root/Source/cmForEachCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-17 14:48:39 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-07-17 14:48:39 (GMT)
commitfcc410de44e59fa4f6145292dc1f13a4498bd8b1 (patch)
tree3a26d56bed8920250e9a23e87444d7bf5e3d62d3 /Source/cmForEachCommand.h
parent3d3caacf9ec9f99cebcfaeb5ab105daa1046f945 (diff)
downloadCMake-fcc410de44e59fa4f6145292dc1f13a4498bd8b1.zip
CMake-fcc410de44e59fa4f6145292dc1f13a4498bd8b1.tar.gz
CMake-fcc410de44e59fa4f6145292dc1f13a4498bd8b1.tar.bz2
fixed if statements inside a foreach
Diffstat (limited to 'Source/cmForEachCommand.h')
-rw-r--r--Source/cmForEachCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmForEachCommand.h b/Source/cmForEachCommand.h
index 064e30b..910f3d5 100644
--- a/Source/cmForEachCommand.h
+++ b/Source/cmForEachCommand.h
@@ -29,7 +29,7 @@
class cmForEachFunctionBlocker : public cmFunctionBlocker
{
public:
- cmForEachFunctionBlocker() {}
+ cmForEachFunctionBlocker() {m_Executing = false;}
virtual ~cmForEachFunctionBlocker() {}
virtual bool IsFunctionBlocked(const char *name,
const std::vector<std::string> &args,
@@ -44,6 +44,7 @@ public:
std::vector<std::string> m_Args;
std::vector<std::string> m_Commands;
std::vector<std::vector<std::string> > m_CommandArguments;
+ bool m_Executing;
};
/** \class cmForEachCommand