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/llwindow/lldxhardware.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/llwindow/lldxhardware.cpp')
-rw-r--r-- | indra/llwindow/lldxhardware.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/lldxhardware.cpp b/indra/llwindow/lldxhardware.cpp index 81e938edbe..391a377280 100644 --- a/indra/llwindow/lldxhardware.cpp +++ b/indra/llwindow/lldxhardware.cpp @@ -1098,7 +1098,7 @@ LLSD LLDXHardware::getDisplayInfo() } LCleanup: - if (ret.emptyMap()) + if (!ret.isMap() || (ret.size() == 0)) { LL_INFOS() << "Failed to get data, cleaning up" << LL_ENDL; } |