From a5d1e0ef58b20554194d9961e834cdbb80572fd5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 18 Aug 2005 09:19:55 -0400 Subject: COMP: Work-around iterator/const_iterator comparison problem on Borland 5.5. --- Source/cmDependsC.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx index a17fb26..20c4ea8 100644 --- a/Source/cmDependsC.cxx +++ b/Source/cmDependsC.cxx @@ -359,7 +359,8 @@ bool cmDependsC::FileExistsOrIsGenerated(const std::string& fname, { // Check first for a generated file. if(m_GeneratedFiles && - m_GeneratedFiles->find(fname) != m_GeneratedFiles->end()) + std::set::const_iterator(m_GeneratedFiles->find(fname)) != + m_GeneratedFiles->end()) { // If the file does not really exist yet pretend it has already // been scanned. When it exists later then dependencies will be -- cgit v0.12