summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-09-05 10:41:28 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-18 15:16:46 (GMT)
commitf4ff60a803170311f49511a60a381eef8b78c5dd (patch)
tree14e5ff6fb69f5c0fc7e815cd612dab1c0ba1e299 /Source/cmMakefile.h
parent42212f7539040139ecec092547b7d58ef12a4d72 (diff)
downloadCMake-f4ff60a803170311f49511a60a381eef8b78c5dd.zip
CMake-f4ff60a803170311f49511a60a381eef8b78c5dd.tar.gz
CMake-f4ff60a803170311f49511a60a381eef8b78c5dd.tar.bz2
cmMakefile: Make GetSafeDefinition return std::string const&
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 0ab4371..8c7eb31 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -422,7 +422,8 @@ public:
* cache is then queried.
*/
const char* GetDefinition(const std::string&) const;
- const char* GetSafeDefinition(const std::string&) const;
+ const std::string* GetDef(const std::string&) const;
+ const std::string& GetSafeDefinition(const std::string&) const;
std::string GetRequiredDefinition(const std::string& name) const;
bool IsDefinitionSet(const std::string&) const;
/**