summaryrefslogtreecommitdiffstats
path: root/Source/cmDepends.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-14 16:22:15 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-18 14:09:11 (GMT)
commit5536cec46e9af9af3ee5756e59b57bcb7fa23e44 (patch)
tree77f7ada4e645560d4094bf20ca8c3f40e2ba3b16 /Source/cmDepends.cxx
parent98d48469534f7a491b8c358d513472806c858d22 (diff)
downloadCMake-5536cec46e9af9af3ee5756e59b57bcb7fa23e44.zip
CMake-5536cec46e9af9af3ee5756e59b57bcb7fa23e44.tar.gz
CMake-5536cec46e9af9af3ee5756e59b57bcb7fa23e44.tar.bz2
Rename cmFileTimeCache::FileTimeCompare to cmFileTimeCache::Compare
Diffstat (limited to 'Source/cmDepends.cxx')
-rw-r--r--Source/cmDepends.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx
index 1bfb370..efadaf1 100644
--- a/Source/cmDepends.cxx
+++ b/Source/cmDepends.cxx
@@ -177,8 +177,7 @@ bool cmDepends::CheckDependencies(
if (dependerExists) {
// The dependee and depender both exist. Compare file times.
int result = 0;
- if ((!this->FileTimeCache->FileTimeCompare(depender, dependee,
- &result) ||
+ if ((!this->FileTimeCache->Compare(depender, dependee, &result) ||
result < 0)) {
// The depender is older than the dependee.
regenerate = true;
@@ -195,8 +194,8 @@ bool cmDepends::CheckDependencies(
// The dependee exists, but the depender doesn't. Regenerate if the
// internalDepends file is older than the dependee.
int result = 0;
- if ((!this->FileTimeCache->FileTimeCompare(internalDependsFileName,
- dependee, &result) ||
+ if ((!this->FileTimeCache->Compare(internalDependsFileName, dependee,
+ &result) ||
result < 0)) {
// The depends-file is older than the dependee.
regenerate = true;