summaryrefslogtreecommitdiffstats
path: root/Source/cmStateSnapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmStateSnapshot.h')
-rw-r--r--Source/cmStateSnapshot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStateSnapshot.h b/Source/cmStateSnapshot.h
index af5653b..014c62e 100644
--- a/Source/cmStateSnapshot.h
+++ b/Source/cmStateSnapshot.h
@@ -22,7 +22,7 @@ public:
cmStateSnapshot(cmState* state = nullptr);
cmStateSnapshot(cmState* state, cmStateDetail::PositionType position);
- const char* GetDefinition(std::string const& name) const;
+ std::string const* GetDefinition(std::string const& name) const;
bool IsInitialized(std::string const& name) const;
void SetDefinition(std::string const& name, std::string const& value);
void RemoveDefinition(std::string const& name);