summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2022-11-11 16:35:51 -0800
committerBrad Kittenbrink <brad@lindenlab.com>2022-11-11 16:35:51 -0800
commit6bc0614d717166e1e587012c3388445d662775a3 (patch)
tree22ffe8dc2bb57c3c9cbd413bbf49afe578c91172 /indra/llcommon
parent6ec534e8d89462e42629b953dcfb545d00defa64 (diff)
DRTVWR-575 xcode-14.1 compatibility fix. add more overloads for stricter size_t conversions
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llsd.h b/indra/llcommon/llsd.h
index 09aac47d0d..dfdf71d6a9 100644
--- a/indra/llcommon/llsd.h
+++ b/indra/llcommon/llsd.h
@@ -208,6 +208,7 @@ public:
LLSD& operator=(Boolean v) { assign(v); return *this; }
LLSD& operator=(Integer v) { assign(v); return *this; }
+ LLSD& operator=(size_t v) { assign(Integer(v)); return *this; }
LLSD& operator=(Real v) { assign(v); return *this; }
LLSD& operator=(const String& v) { assign(v); return *this; }
LLSD& operator=(const UUID& v) { assign(v); return *this; }