summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2022-11-11 15:31:46 -0800
committerBrad Kittenbrink <brad@lindenlab.com>2022-11-11 15:31:46 -0800
commit6ec534e8d89462e42629b953dcfb545d00defa64 (patch)
tree2e9389102c768f9a7b941df2335c8ab4aafe4283 /indra/llcommon
parentcd997f21c272987e954f5890ed14fcc327eb734e (diff)
DRTVWR-575 xcode-14.1 compatibility fix. add overloads for stricter integer conversions
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcommon/llsd.h b/indra/llcommon/llsd.h
index f034470da7..09aac47d0d 100644
--- a/indra/llcommon/llsd.h
+++ b/indra/llcommon/llsd.h
@@ -320,6 +320,8 @@ public:
// overload to disambiguate [0], [1] et al.
const LLSD& operator[](Integer i) const { return (*this)[size_t(i)]; }
LLSD& operator[](Integer i) { return (*this)[size_t(i)]; }
+ const LLSD& operator[](U32 i) const { return (*this)[size_t(i)]; }
+ LLSD& operator[](U32 i) { return (*this)[size_t(i)]; }
//@}
/** @name Iterators */