summaryrefslogtreecommitdiff
path: root/Source/cmCreateTestSourceList.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-18 09:54:51 -0500
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-18 20:48:19 -0500
commit0281f9a4cad6e189601a87c9ccfba8c54e71e14b (patch)
tree7cb6ecd89a38397e4ca191078fab91f1875eedba /Source/cmCreateTestSourceList.cxx
parentbafd0ffa987bea9216e7722c027478f26d5e8f6a (diff)
downloadcmake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.gz
cmMakefile::ConfigureFile: Accept `std::string` parameters
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r--Source/cmCreateTestSourceList.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 69532e61b1..b78493f999 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -136,8 +136,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args,
this->Makefile->AddDefinition("CMAKE_FUNCTION_TABLE_ENTIRES",
functionMapCode.c_str());
bool res = true;
- if (!this->Makefile->ConfigureFile(configFile.c_str(), driver.c_str(), false,
- true, false)) {
+ if (!this->Makefile->ConfigureFile(configFile, driver, false, true, false)) {
res = false;
}