summaryrefslogtreecommitdiffstats
path: root/Source/cmDefinitions.h
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-09-06 00:08:17 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2018-09-06 00:08:17 (GMT)
commit437d0c16c72a45da8c81919f953859f5af71b19b (patch)
tree2a456a93a0eddf55d46313bd6d1bfbe668324d22 /Source/cmDefinitions.h
parentb0f769ad2da5162f7f65e13061b18b4538f06d9a (diff)
downloadCMake-437d0c16c72a45da8c81919f953859f5af71b19b.zip
CMake-437d0c16c72a45da8c81919f953859f5af71b19b.tar.gz
CMake-437d0c16c72a45da8c81919f953859f5af71b19b.tar.bz2
cmStateSnapshot::GetDefinition(): Return std::string const*
Expose std::string type used internally in cmDefinitions instead of const char*
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r--Source/cmDefinitions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h
index 528b157..4ab5be6 100644
--- a/Source/cmDefinitions.h
+++ b/Source/cmDefinitions.h
@@ -23,8 +23,8 @@ class cmDefinitions
typedef cmLinkedTree<cmDefinitions>::iterator StackIter;
public:
- static const char* Get(const std::string& key, StackIter begin,
- StackIter end);
+ static const std::string* Get(const std::string& key, StackIter begin,
+ StackIter end);
static void Raise(const std::string& key, StackIter begin, StackIter end);