diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-31 17:45:02 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-31 17:45:02 (GMT) |
commit | b7527db958221d685625765741d090a789cef9ac (patch) | |
tree | 6c3d3ba84cd52e579ac15128807ea5a3a81b67eb /Source/cmGlobalGenerator.cxx | |
parent | d338e69c01d7b2cb65a7c34843f564d96be73b26 (diff) | |
download | CMake-b7527db958221d685625765741d090a789cef9ac.zip CMake-b7527db958221d685625765741d090a789cef9ac.tar.gz CMake-b7527db958221d685625765741d090a789cef9ac.tar.bz2 |
STYLE: the temporary variable is not necessary
Alex
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index d693b14..a3b2cf3 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -647,9 +647,7 @@ bool cmGlobalGenerator::IgnoreFile(const char* l) bool cmGlobalGenerator::GetLanguageEnabled(const char* l) const { - std::map<cmStdString, bool>::const_iterator langIt - = this->LanguageEnabled.find(l); - return (langIt!= this->LanguageEnabled.end()); + return (this->LanguageEnabled.find(l)!= this->LanguageEnabled.end()); } void cmGlobalGenerator::ClearEnabledLanguages() |