diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-14 16:22:15 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-03-18 14:09:11 (GMT) |
commit | 5536cec46e9af9af3ee5756e59b57bcb7fa23e44 (patch) | |
tree | 77f7ada4e645560d4094bf20ca8c3f40e2ba3b16 /Source/cmDepends.cxx | |
parent | 98d48469534f7a491b8c358d513472806c858d22 (diff) | |
download | CMake-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.cxx | 7 |
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; |