summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-17 17:36:07 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-17 17:36:07 (GMT)
commit25caf7bafeb18d9394eb2d13686970c68e9ad88c (patch)
tree11fe6f264cf7b71fe62d725d0c345a10811ed612 /Source/cmLocalUnixMakefileGenerator3.cxx
parent68e20f674a48be38d60e129f600faf7c483f2b97 (diff)
downloadCMake-25caf7bafeb18d9394eb2d13686970c68e9ad88c.zip
CMake-25caf7bafeb18d9394eb2d13686970c68e9ad88c.tar.gz
CMake-25caf7bafeb18d9394eb2d13686970c68e9ad88c.tar.bz2
cmMakefile::ReadListFile() accepts std::string argument
Same for cmMakefile::ReadDependentFile(); some cleanup
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 707a1b5..eddbaa9 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1364,8 +1364,7 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(
std::string dirInfoFile = this->GetCurrentBinaryDirectory();
dirInfoFile += cmake::GetCMakeFilesDirectory();
dirInfoFile += "/CMakeDirectoryInformation.cmake";
- if (mf->ReadListFile(dirInfoFile.c_str()) &&
- !cmSystemTools::GetErrorOccuredFlag()) {
+ if (mf->ReadListFile(dirInfoFile) && !cmSystemTools::GetErrorOccuredFlag()) {
haveDirectoryInfo = true;
}