Просмотр исходного кода

COMP: Fix build on Borland 5.5.

Brad King 18 лет назад
Родитель
Сommit
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;
       }