summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.cpp
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2022-10-30 06:56:16 -0400
committerRye Mutt <rye@alchemyviewer.org>2022-10-30 06:56:16 -0400
commitd0e07c770b978d57210a5403bc42cc48e700ef63 (patch)
tree1d4285bf81dd94fd3de19c33d57658913a1660a4 /indra/llcommon/llerror.cpp
parenta022452ff56c31cb028d5a17d827c82f1a74e624 (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.cpp2
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"]);