summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyMap.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@users.noreply.gitlab.com>2023-08-15 16:00:00 (GMT)
committerVitaly Stakhovsky <vvs31415@users.noreply.gitlab.com>2023-08-15 16:13:56 (GMT)
commit822203dd657b613bfe82aafb5b00d7ad4f843f92 (patch)
treeb29838d0bb5689862c0aff76665bee8e038867ee /Source/cmPropertyMap.cxx
parentd688a213d5583098f04bedc4f5c9eafe62c854bd (diff)
downloadCMake-822203dd657b613bfe82aafb5b00d7ad4f843f92.zip
CMake-822203dd657b613bfe82aafb5b00d7ad4f843f92.tar.gz
CMake-822203dd657b613bfe82aafb5b00d7ad4f843f92.tar.bz2
Source: Rename SetProperty(nullptr_t) to RemoveProperty()
Avoid assignment to NULL semantics.
Diffstat (limited to 'Source/cmPropertyMap.cxx')
-rw-r--r--Source/cmPropertyMap.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmPropertyMap.cxx b/Source/cmPropertyMap.cxx
index 568a3d2..5bb769a 100644
--- a/Source/cmPropertyMap.cxx
+++ b/Source/cmPropertyMap.cxx
@@ -10,10 +10,6 @@ void cmPropertyMap::Clear()
this->Map_.clear();
}
-void cmPropertyMap::SetProperty(const std::string& name, std::nullptr_t)
-{
- this->Map_.erase(name);
-}
void cmPropertyMap::SetProperty(const std::string& name, cmValue value)
{
if (!value) {