summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
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/cmMakefile.h
parentbafd0ffa987bea9216e7722c027478f26d5e8f6a (diff)
downloadCMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.zip
CMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.gz
CMake-0281f9a4cad6e189601a87c9ccfba8c54e71e14b.tar.bz2
cmMakefile::ConfigureFile: Accept `std::string` parameters
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 0800ce4..88b4c2f 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -610,8 +610,8 @@ public:
/**
* Copy file but change lines according to ConfigureString
*/
- int ConfigureFile(const char* infile, const char* outfile, bool copyonly,
- bool atOnly, bool escapeQuotes,
+ int ConfigureFile(const std::string& infile, const std::string& outfile,
+ bool copyonly, bool atOnly, bool escapeQuotes,
cmNewLineStyle = cmNewLineStyle());
/**