diff options
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 5268248..ae32759 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -41,7 +41,7 @@ class cmCacheManager bool GetPropertyAsBool(const std::string& property) const; void SetProperty(const std::string& property, const std::string& value); void SetProperty(const std::string& property, bool value); - void SetProperty(const std::string& property, std::nullptr_t); + void RemoveProperty(const std::string& property); void AppendProperty(const std::string& property, const std::string& value, bool asString = false); @@ -144,7 +144,7 @@ public: std::string const& propName) { if (auto* entry = this->GetCacheEntry(key)) { - entry->SetProperty(propName, nullptr); + entry->RemoveProperty(propName); } } |