From aed67d5d93a4fd4d988d4afd09d73bb9df906c6e Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 18 Jan 2008 18:40:05 -0500 Subject: [PATCH] COMP: Fix build on Borland 5.5. --- Source/cmDependsFortran.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmDependsFortran.cxx b/Source/cmDependsFortran.cxx index 1725c586b..577ebad2b 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::const_iterator(info.Provides.find(*i)) != + info.Provides.end()) { continue; }