浏览代码

COMP: Fix build on Borland 5.5.

Brad King 18 年之前
父节点
当前提交
aed67d5d93
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/cmDependsFortran.cxx

+ 2 - 1
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;
       }