summaryrefslogtreecommitdiffstats
path: root/Source/cmConfigureFileCommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-18 14:54:51 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-02-19 01:48:19 (GMT)
commit0281f9a4cad6e189601a87c9ccfba8c54e71e14b (patch)
tree7cb6ecd89a38397e4ca191078fab91f1875eedba /Source/cmConfigureFileCommand.cxx
parentbafd0ffa987bea9216e7722c027478f26d5e8f6a (diff)
downloadCMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.zip
CMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.gz
CMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.bz2
cmMakefile::ConfigureFile: Accept `std::string` parameters
Diffstat (limited to 'Source/cmConfigureFileCommand.cxx')
-rw-r--r--Source/cmConfigureFileCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmConfigureFileCommand.cxx b/Source/cmConfigureFileCommand.cxx
index 8224a0f..0917d11 100644
--- a/Source/cmConfigureFileCommand.cxx
+++ b/Source/cmConfigureFileCommand.cxx
@@ -102,7 +102,7 @@ bool cmConfigureFileCommand::InitialPass(std::vector<std::string> const& args,
int cmConfigureFileCommand::ConfigureFile()
{
- return this->Makefile->ConfigureFile(
- this->InputFile.c_str(), this->OutputFile.c_str(), this->CopyOnly,
- this->AtOnly, this->EscapeQuotes, this->NewLineStyle);
+ return this->Makefile->ConfigureFile(this->InputFile, this->OutputFile,
+ this->CopyOnly, this->AtOnly,
+ this->EscapeQuotes, this->NewLineStyle);
}