summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionDAGChecker.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-12-31 13:37:44 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-01-11 16:00:56 (GMT)
commitac3d38292035a470affdd0ca9df88992916bfeee (patch)
treed15a81987888a35558b5ae006c675f2245778bc6 /Source/cmGeneratorExpressionDAGChecker.cxx
parent36b8de563cab1933fb332c42bca68125dd13f35a (diff)
downloadCMake-ac3d38292035a470affdd0ca9df88992916bfeee.zip
CMake-ac3d38292035a470affdd0ca9df88992916bfeee.tar.gz
CMake-ac3d38292035a470affdd0ca9df88992916bfeee.tar.bz2
Help: Remove documented restriction on find in conditions.
The necessary conversion is supported by all CMake host compilers.
Diffstat (limited to 'Source/cmGeneratorExpressionDAGChecker.cxx')
-rw-r--r--Source/cmGeneratorExpressionDAGChecker.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGeneratorExpressionDAGChecker.cxx b/Source/cmGeneratorExpressionDAGChecker.cxx
index 75a84cb..a660bd4 100644
--- a/Source/cmGeneratorExpressionDAGChecker.cxx
+++ b/Source/cmGeneratorExpressionDAGChecker.cxx
@@ -66,9 +66,7 @@ cmGeneratorExpressionDAGChecker::Initialize()
if (it != top->Seen.end())
{
const std::set<std::string> &propSet = it->second;
- const std::set<std::string>::const_iterator i
- = propSet.find(this->Property);
- if (i != propSet.end())
+ if (propSet.find(this->Property) != propSet.end())
{
this->CheckResult = ALREADY_SEEN;
return;