DRTVWR-476: Don't test configuration.emptyMap().

LLSD::emptyMap() is a factory for an empty map instance, NOT a predicate on
any particular instance. In fact checking configuration.isUndefined() and
testing whether the map is empty are both subsumed by (! configuration).
meow-7.2.2
Nat Goodspeed 2019-11-12 14:47:13 -05:00
parent 9c315851a3
commit 7ef10fe11c
1 changed files with 1 additions and 1 deletions

View File

@ -436,7 +436,7 @@ namespace
return false;
}
if (configuration.isUndefined() || !configuration.isMap() || configuration.emptyMap())
if (! configuration || !configuration.isMap())
{
LL_WARNS() << filename() << " missing, ill-formed, or simply undefined"
" content; not changing configuration"