Skip to content
Snippets Groups Projects
Commit 6ec534e8 authored by Brad Kittenbrink's avatar Brad Kittenbrink
Browse files

DRTVWR-575 xcode-14.1 compatibility fix. add overloads for stricter integer conversions

parent cd997f21
No related branches found
No related tags found
No related merge requests found
...@@ -320,6 +320,8 @@ class LL_COMMON_API LLSD ...@@ -320,6 +320,8 @@ class LL_COMMON_API LLSD
// overload to disambiguate [0], [1] et al. // overload to disambiguate [0], [1] et al.
const LLSD& operator[](Integer i) const { return (*this)[size_t(i)]; } const LLSD& operator[](Integer i) const { return (*this)[size_t(i)]; }
LLSD& operator[](Integer i) { 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 */ /** @name Iterators */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment