summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsFortran.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-18 23:40:05 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-18 23:40:05 (GMT)
commitaed67d5d93a4fd4d988d4afd09d73bb9df906c6e (patch)
treebaae1f68bbbb9bc3dd0dbe10e27ae858494c1c31 /Source/cmDependsFortran.cxx
parent52b96e5bd9d4b6abf2213fd6c77b8ab61480f922 (diff)
downloadCMake-aed67d5d93a4fd4d988d4afd09d73bb9df906c6e.zip
CMake-aed67d5d93a4fd4d988d4afd09d73bb9df906c6e.tar.gz
CMake-aed67d5d93a4fd4d988d4afd09d73bb9df906c6e.tar.bz2
COMP: Fix build on Borland 5.5.
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;
}