diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2022-10-30 06:56:16 -0400 |
---|---|---|
committer | Rye Mutt <rye@alchemyviewer.org> | 2022-10-30 06:56:16 -0400 |
commit | d0e07c770b978d57210a5403bc42cc48e700ef63 (patch) | |
tree | 1d4285bf81dd94fd3de19c33d57658913a1660a4 /indra/llcommon/llerror.cpp | |
parent | a022452ff56c31cb028d5a17d827c82f1a74e624 (diff) |
Fix checks for empty LLSD maps to use size and not emptyMap which is for creating an empty LLSDMap type.
Diffstat (limited to 'indra/llcommon/llerror.cpp')
-rw-r--r-- | indra/llcommon/llerror.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 919d2dabc4..56fb7c21ca 100644 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -943,7 +943,7 @@ namespace LLError for (a = sets.beginArray(), end = sets.endArray(); a != end; ++a) { const LLSD& entry = *a; - if (entry.isMap() && !entry.emptyMap()) + if (entry.isMap() && entry.size() != 0) { ELevel level = decodeLevel(entry["level"]); |