summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsFortran.cxx')
-rw-r--r--Source/cmDependsFortran.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx
index 1725c58..577ebad 100644
--- a/Source/cmDependsFortran.cxx
+++ b/Source/cmDependsFortran.cxx
@@ -453,7 +453,8 @@ cmDependsFortran
i != info.Requires.end(); ++i)
{
// Require only modules not provided in the same source.
- if(info.Provides.find(*i) != info.Provides.end())
+ if(std::set<cmStdString>::const_iterator(info.Provides.find(*i)) !=
+ info.Provides.end())
{
continue;
}