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
parent
9c315851a3
commit
7ef10fe11c
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue