summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-08-18 13:19:55 (GMT)
committerBrad King <brad.king@kitware.com>2005-08-18 13:19:55 (GMT)
commita5d1e0ef58b20554194d9961e834cdbb80572fd5 (patch)
treee224e2e9b77d749af73c24ef27904bb1a4b6fdcf /Source/cmDependsC.cxx
parentbf87041f37b7f2f1d3d78d6662ca497239884520 (diff)
downloadCMake-a5d1e0ef58b20554194d9961e834cdbb80572fd5.zip
CMake-a5d1e0ef58b20554194d9961e834cdbb80572fd5.tar.gz
CMake-a5d1e0ef58b20554194d9961e834cdbb80572fd5.tar.bz2
COMP: Work-around iterator/const_iterator comparison problem on Borland 5.5.
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r--Source/cmDependsC.cxx3
1 files changed, 2 insertions, 1 deletions
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<cmStdString>::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