summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-28 14:00:28 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-28 14:09:59 (GMT)
commit2fc69ba0b33e8f5f1b6301f37fc1479fba420b93 (patch)
tree3e870a7ce9eac0b8d2eeaab9aa537efba4941b41 /Source/CTest/cmCTestBuildHandler.cxx
parent1593e16d881bf74fd8981e1290d20f28191f1f0e (diff)
downloadCMake-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.cxx3
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;