diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-09-23 20:03:58 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-09-23 20:11:55 +0300 |
commit | 22675c9a054691775645134c6a326a4f93f22d35 (patch) | |
tree | 97981429fe64167a7c32dab9b29d88598dd0a5c4 /indra/llinventory | |
parent | b589d394be3c942c3bcdf1b857ff34a5fde462ab (diff) |
viewer#2627 instead of checking map for being empty got empty map
Diffstat (limited to 'indra/llinventory')
-rw-r--r-- | indra/llinventory/llsettingsdaycycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingsdaycycle.cpp b/indra/llinventory/llsettingsdaycycle.cpp index 2b189e7cca..a45ab5a09c 100644 --- a/indra/llinventory/llsettingsdaycycle.cpp +++ b/indra/llinventory/llsettingsdaycycle.cpp @@ -143,7 +143,7 @@ LLSettingsDay::LLSettingsDay() : //========================================================================= LLSD& LLSettingsDay::getSettings() { - if (!mDaySettings.emptyMap()) + if (mDaySettings.size() > 0) { return mDaySettings; } |