diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-25 16:33:26 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-29 22:48:12 +0200 |
commit | 60200ca5088058c70282500994727f2017276df8 (patch) | |
tree | 5504aac60a9042013e33ae0dce27a833d9706259 /Source/cmDefinitions.h | |
parent | b43c162e99c7302ae81c746bc5aab1d9a64787b3 (diff) | |
download | cmake-60200ca5088058c70282500994727f2017276df8.tar.gz |
cmDefinitions: Add an Erase method.
Diffstat (limited to 'Source/cmDefinitions.h')
-rw-r--r-- | Source/cmDefinitions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmDefinitions.h b/Source/cmDefinitions.h index 83cd0d9ce7..13f885df8b 100644 --- a/Source/cmDefinitions.h +++ b/Source/cmDefinitions.h @@ -40,6 +40,8 @@ public: /** Set (or unset if null) a value associated with a key. */ void Set(const std::string& key, const char* value); + void Erase(const std::string& key); + /** Get the set of all local keys. */ std::set<std::string> LocalKeys() const; |