summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinitions.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-26 14:00:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-29 21:54:02 (GMT)
commit60becdc65c5f8cfad4b2c6a33e3649d2acbddf39 (patch)
tree904d65c1798a133729dccbc6c563261744890812 /Source/cmDefinitions.h
parentd858f36339d61e45913165bc957d645bf1060f54 (diff)
downloadCMake-60becdc65c5f8cfad4b2c6a33e3649d2acbddf39.zip
CMake-60becdc65c5f8cfad4b2c6a33e3649d2acbddf39.tar.gz
CMake-60becdc65c5f8cfad4b2c6a33e3649d2acbddf39.tar.bz2
cmDefinitions: Implement MakeClosure in terms of a list of ancestors.
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r--Source/cmDefinitions.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index 6917402..40e0531 100644
--- a/Source/cmDefinitions.h
+++ b/Source/cmDefinitions.h
@@ -17,6 +17,8 @@
#include "cmsys/hash_map.hxx"
#endif
+#include <list>
+
/** \class cmDefinitions
* \brief Store a scope of variable definitions for CMake language.
*
@@ -80,7 +82,8 @@ private:
Def const& GetInternal(const std::string& key);
void MakeClosure(std::set<std::string>& undefined,
- cmDefinitions const* defs);
+ std::list<cmDefinitions const*>::iterator begin,
+ std::list<cmDefinitions const*>::iterator end);
};
#endif