summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.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/CPack/cmCPackGenerator.cxx
parentbafd0ffa987bea9216e7722c027478f26d5e8f6a (diff)
downloadCMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.zip
CMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.gz
CMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.bz2
cmMakefile::ConfigureFile: Accept `std::string` parameters
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index fc34ef8..575254e 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -1245,7 +1245,8 @@ bool cmCPackGenerator::ConfigureString(const std::string& inString,
return true;
}
-bool cmCPackGenerator::ConfigureFile(const char* inName, const char* outName,
+bool cmCPackGenerator::ConfigureFile(const std::string& inName,
+ const std::string& outName,
bool copyOnly /* = false */)
{
return this->MakefileMap->ConfigureFile(inName, outName, copyOnly, true,