summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-31 17:45:02 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-31 17:45:02 (GMT)
commitb7527db958221d685625765741d090a789cef9ac (patch)
tree6c3d3ba84cd52e579ac15128807ea5a3a81b67eb /Source/cmGlobalGenerator.cxx
parentd338e69c01d7b2cb65a7c34843f564d96be73b26 (diff)
downloadCMake-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.cxx4
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()