summaryrefslogtreecommitdiff
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-14 01:08:34 +0200
committerStephen Kelly <steveire@gmail.com>2015-06-21 20:19:53 +0200
commit217c243db04a21763848ac048edf153cd93bd883 (patch)
tree7b848de03d8347ff288124e138c3fadff0952b6d /Source/cmState.h
parenteb05dcd6c9b587eeb8738d9f08459d94733708f6 (diff)
downloadcmake-217c243db04a21763848ac048edf153cd93bd883.tar.gz
cmake: Update the current snapshot when Resetting.
This will matter when definitions are stored in the cmState.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index 070a08b58c..9c7574f7ba 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -105,7 +105,7 @@ public:
void RemoveCacheEntryProperty(std::string const& key,
std::string const& propertyName);
- void Reset();
+ Snapshot Reset();
// Define a property
void DefineProperty(const std::string& name, cmProperty::ScopeType scope,
const char *ShortDescription,