diff options
-rw-r--r-- | Source/cmOrderDirectories.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx index 4943356..25253d9 100644 --- a/Source/cmOrderDirectories.cxx +++ b/Source/cmOrderDirectories.cxx @@ -177,7 +177,7 @@ bool cmOrderDirectoriesConstraintSOName::FindConflict(std::string const& dir) std::set<cmStdString>::const_iterator first = files.lower_bound(base); ++base[base.size()-1]; std::set<cmStdString>::const_iterator last = files.upper_bound(base); - for(std::set<cmStdString>::const_iterator fi = first; fi != last; ++fi) + if(first != last) { return true; } |