diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-25 14:33:26 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-29 20:48:12 (GMT) |
commit | 60200ca5088058c70282500994727f2017276df8 (patch) | |
tree | 5504aac60a9042013e33ae0dce27a833d9706259 /Source/cmDefinitions.cxx | |
parent | b43c162e99c7302ae81c746bc5aab1d9a64787b3 (diff) | |
download | CMake-60200ca5088058c70282500994727f2017276df8.zip CMake-60200ca5088058c70282500994727f2017276df8.tar.gz CMake-60200ca5088058c70282500994727f2017276df8.tar.bz2 |
cmDefinitions: Add an Erase method.
Diffstat (limited to 'Source/cmDefinitions.cxx')
-rw-r--r-- | Source/cmDefinitions.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmDefinitions.cxx b/Source/cmDefinitions.cxx index abb46b3..58500c9 100644 --- a/Source/cmDefinitions.cxx +++ b/Source/cmDefinitions.cxx @@ -61,6 +61,11 @@ void cmDefinitions::Set(const std::string& key, const char* value) } } +void cmDefinitions::Erase(const std::string& key) +{ + this->Map.erase(key); +} + //---------------------------------------------------------------------------- std::set<std::string> cmDefinitions::LocalKeys() const { |