We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a371d4b commit da31ee9Copy full SHA for da31ee9
Fleece/Core/Dict.cc
@@ -309,7 +309,7 @@ namespace fleece { namespace impl {
309
if (_usuallyFalse(isMutable()))
310
return heapDict()->count();
311
Array::impl imp(this);
312
- if (_usuallyFalse(imp._count > 1 && isMagicParentKey(imp._first))) {
+ if (_usuallyFalse(imp._count >= 1 && isMagicParentKey(imp._first))) {
313
// Dict has a parent; this makes counting much more expensive!
314
uint32_t c = 0;
315
for (iterator i(this); i; ++i)
0 commit comments