summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-09 08:47:45 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-10 14:09:54 (GMT)
commitc637e0c53b5b81d6605018bd64ea2769f356662a (patch)
treefd0d0738286e5a0abb12af5bd6845bebf1e8bce0 /Source/cmMakefile.h
parentfbc1b75c2692d82f729359b0aeec7ad959662d54 (diff)
downloadCMake-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.h2
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