diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-28 14:00:28 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-28 14:09:59 (GMT) |
commit | 2fc69ba0b33e8f5f1b6301f37fc1479fba420b93 (patch) | |
tree | 3e870a7ce9eac0b8d2eeaab9aa537efba4941b41 /Source/CTest/cmCTestBuildHandler.cxx | |
parent | 1593e16d881bf74fd8981e1290d20f28191f1f0e (diff) | |
download | CMake-2fc69ba0b33e8f5f1b6301f37fc1479fba420b93.zip CMake-2fc69ba0b33e8f5f1b6301f37fc1479fba420b93.tar.gz CMake-2fc69ba0b33e8f5f1b6301f37fc1479fba420b93.tar.bz2 |
cmFileTimeComparison: use std::string arguments
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestBuildHandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx index d07bd21..948547f 100644 --- a/Source/CTest/cmCTestBuildHandler.cxx +++ b/Source/CTest/cmCTestBuildHandler.cxx @@ -513,8 +513,7 @@ public: // Order files by modification time. Use lexicographic order // among files with the same time. int result; - if (this->FTC->FileTimeCompare(l.c_str(), r.c_str(), &result) && - result != 0) { + if (this->FTC->FileTimeCompare(l, r, &result) && result != 0) { return result < 0; } return l < r; |