diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-09 08:47:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-10 14:09:54 (GMT) |
commit | c637e0c53b5b81d6605018bd64ea2769f356662a (patch) | |
tree | fd0d0738286e5a0abb12af5bd6845bebf1e8bce0 /Source/cmMakefile.h | |
parent | fbc1b75c2692d82f729359b0aeec7ad959662d54 (diff) | |
download | CMake-c637e0c53b5b81d6605018bd64ea2769f356662a.zip CMake-c637e0c53b5b81d6605018bd64ea2769f356662a.tar.gz CMake-c637e0c53b5b81d6605018bd64ea2769f356662a.tar.bz2 |
cmMakefile: Return a string from GetDefineFlags
Flip condition in GHS for readability.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 40344ce..de7bead 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -447,7 +447,7 @@ public: /** * Get a list of preprocessor define flags. */ - const char* GetDefineFlags() const { return this->DefineFlags.c_str(); } + std::string GetDefineFlags() const { return this->DefineFlags; } /** * Make sure CMake can write this file |