diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2020-01-29 17:40:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-29 19:31:01 (GMT) |
commit | bbc07e456193a90562635d7baa1f82c4dc0bd1cb (patch) | |
tree | e9862bfdc1f87c06678efc8dabd31a7e72142789 /Source/cmMakefile.h | |
parent | feea34e7eb483e8db28947920757612a95ab1863 (diff) | |
download | CMake-bbc07e456193a90562635d7baa1f82c4dc0bd1cb.zip CMake-bbc07e456193a90562635d7baa1f82c4dc0bd1cb.tar.gz CMake-bbc07e456193a90562635d7baa1f82c4dc0bd1cb.tar.bz2 |
Source: use std::string in place of const char*
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 68f2c2f..f1a68c2 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -419,9 +419,9 @@ public: { this->ComplainFileRegularExpression = regex; } - const char* GetComplainRegularExpression() const + const std::string& GetComplainRegularExpression() const { - return this->ComplainFileRegularExpression.c_str(); + return this->ComplainFileRegularExpression; } // -- List of targets |