From ec7c90d5d7e22748a288c2bbfe4017f9c268671d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 9 Apr 2014 10:52:13 +0200 Subject: [PATCH] Allow dictionaries to contain null values. Fixes #5986 --- lib/base/dictionary.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/base/dictionary.cpp b/lib/base/dictionary.cpp index eed858856..0eeb76923 100644 --- a/lib/base/dictionary.cpp +++ b/lib/base/dictionary.cpp @@ -98,11 +98,6 @@ Value Dictionary::Get(const String& key) const */ void Dictionary::Set(const String& key, const Value& value) { - if (value.IsEmpty()) { - Remove(key); - return; - } - ASSERT(!OwnsLock()); ObjectLock olock(this); -- 2.40.0