summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.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/cmExportFileGenerator.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/cmExportFileGenerator.h')
-rw-r--r--Source/cmExportFileGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h
index 0d69779..e9d0da7 100644
--- a/Source/cmExportFileGenerator.h
+++ b/Source/cmExportFileGenerator.h
@@ -46,7 +46,7 @@ public:
/** Set the full path to the export file to generate. */
void SetExportFile(const char* mainFile);
- const char* GetMainExportFileName() const;
+ const std::string& GetMainExportFileName() const;
/** Set the namespace in which to place exported target names. */
void SetNamespace(const std::string& ns) { this->Namespace = ns; }