summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2020-01-29 17:40:00 (GMT)
committerBrad King <brad.king@kitware.com>2020-01-29 19:31:01 (GMT)
commitbbc07e456193a90562635d7baa1f82c4dc0bd1cb (patch)
treee9862bfdc1f87c06678efc8dabd31a7e72142789 /Source/cmLocalUnixMakefileGenerator3.h
parentfeea34e7eb483e8db28947920757612a95ab1863 (diff)
downloadCMake-bbc07e456193a90562635d7baa1f82c4dc0bd1cb.zip
CMake-bbc07e456193a90562635d7baa1f82c4dc0bd1cb.tar.gz
CMake-bbc07e456193a90562635d7baa1f82c4dc0bd1cb.tar.bz2
Source: use std::string in place of const char*
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index 1629e63..68eeb29 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -77,7 +77,7 @@ public:
void SetBorlandMakeCurlyHack(bool b) { this->BorlandMakeCurlyHack = b; }
// used in writing out Cmake files such as WriteDirectoryInformation
- static void WriteCMakeArgument(std::ostream& os, const char* s);
+ static void WriteCMakeArgument(std::ostream& os, const std::string& s);
/** creates the common disclaimer text at the top of each makefile */
void WriteDisclaimer(std::ostream& os);