Allow dictionaries to contain null values.

Fixes #5986
This commit is contained in:
Gunnar Beutner 2014-04-09 10:52:13 +02:00
parent 91f946a40e
commit ec7c90d5d7
1 changed files with 0 additions and 5 deletions

View File

@ -98,11 +98,6 @@ Value Dictionary::Get(const String& key) const
*/ */
void Dictionary::Set(const String& key, const Value& value) void Dictionary::Set(const String& key, const Value& value)
{ {
if (value.IsEmpty()) {
Remove(key);
return;
}
ASSERT(!OwnsLock()); ASSERT(!OwnsLock());
ObjectLock olock(this); ObjectLock olock(this);