summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-22 15:39:08 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-22 16:11:13 (GMT)
commit614876c638f7a428ff2f47104e2427bdbb64958d (patch)
tree22686709f2237ce299a9074a67daea8bf6d6d5c3 /Source/cmcmd.cxx
parentbcc9ea2b3d9cd3b882dbb2a23502b0392cb21d1b (diff)
downloadCMake-614876c638f7a428ff2f47104e2427bdbb64958d.zip
CMake-614876c638f7a428ff2f47104e2427bdbb64958d.tar.gz
CMake-614876c638f7a428ff2f47104e2427bdbb64958d.tar.bz2
cmLocalUnixMakefileGenerator3: more methods accept std::string
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index 26f7509..cb59034 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -964,8 +964,7 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
std::unique_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator(&mf));
// Actually scan dependencies.
- return lgd->UpdateDependencies(depInfo.c_str(), verbose, color) ? 0
- : 2;
+ return lgd->UpdateDependencies(depInfo, verbose, color) ? 0 : 2;
}
return 1;
}