summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-12 18:08:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-12 18:08:42 (GMT)
commit55ecd818f6bf70590d61584a87aae7bba992e26d (patch)
tree5d1833b97f82639d2661753ba7e5e12dd19f5e76 /Source/cmGlobalGenerator.h
parent18b58b618ccfb3b3fc56935b64a8fa2139b8398a (diff)
downloadCMake-55ecd818f6bf70590d61584a87aae7bba992e26d.zip
CMake-55ecd818f6bf70590d61584a87aae7bba992e26d.tar.gz
CMake-55ecd818f6bf70590d61584a87aae7bba992e26d.tar.bz2
cmGlobalGenerator: Store languages as vector, not map.
The second component of the map is never used.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 5b9ddee..ce3f037 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -441,7 +441,7 @@ private:
// If you add a new map here, make sure it is copied
// in EnableLanguagesFromGenerator
std::map<std::string, bool> IgnoreExtensions;
- std::map<std::string, bool> LanguageEnabled;
+ std::vector<std::string> LanguageEnabled;
std::set<std::string> LanguagesReady; // Ready for try_compile
std::map<std::string, std::string> OutputExtensions;
std::map<std::string, std::string> LanguageToOutputExtension;