summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-16 14:33:23 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-03-16 14:33:23 (GMT)
commit4b83a08b373e8dcb3a0b4b23390f747af167c864 (patch)
treedb79f6e838c1f7a66e72c021855378fb60ab1555 /Source/cmDependsC.cxx
parent438c49f2a339be4507737686877c60d690a37919 (diff)
downloadCMake-4b83a08b373e8dcb3a0b4b23390f747af167c864.zip
CMake-4b83a08b373e8dcb3a0b4b23390f747af167c864.tar.gz
CMake-4b83a08b373e8dcb3a0b4b23390f747af167c864.tar.bz2
ENH: a warning fix and some more cleanup
Diffstat (limited to 'Source/cmDependsC.cxx')
-rw-r--r--Source/cmDependsC.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx
index b21d1de..2e198ee 100644
--- a/Source/cmDependsC.cxx
+++ b/Source/cmDependsC.cxx
@@ -38,7 +38,7 @@ cmDependsC::cmDependsC(std::vector<std::string> const& includes,
IncludeRegexScan(scanRegex),
IncludeRegexComplain(complainRegex),
GeneratedFiles(&generatedFiles),
- cacheFileName(cacheFileName)
+ CacheFileName(cacheFileName)
{
this->ReadCacheFile();
}
@@ -212,11 +212,11 @@ bool cmDependsC::WriteDependencies(const char *src, const char *obj,
//----------------------------------------------------------------------------
void cmDependsC::ReadCacheFile()
{
- if(this->cacheFileName.size() == 0)
+ if(this->CacheFileName.size() == 0)
{
return;
}
- std::ifstream fin(this->cacheFileName.c_str());
+ std::ifstream fin(this->CacheFileName.c_str());
if(!fin)
{
return;
@@ -240,7 +240,7 @@ void cmDependsC::ReadCacheFile()
haveFileName=true;
int newer=0;
cmFileTimeComparison comp;
- bool res=comp.FileTimeCompare(this->cacheFileName.c_str(),
+ bool res=comp.FileTimeCompare(this->CacheFileName.c_str(),
line.c_str(), &newer);
if ((res==true) && (newer==1)) //cache is newer than the parsed file
@@ -268,11 +268,11 @@ void cmDependsC::ReadCacheFile()
//----------------------------------------------------------------------------
void cmDependsC::WriteCacheFile() const
{
- if(this->cacheFileName.size() == 0)
+ if(this->CacheFileName.size() == 0)
{
return;
}
- std::ofstream cacheOut(this->cacheFileName.c_str());
+ std::ofstream cacheOut(this->CacheFileName.c_str());
if(!cacheOut)
{
return;