DRTVWR-575 xcode-14.1 compatibility fix. add overloads for stricter integer conversions
parent
cd997f21c2
commit
6ec534e8d8
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue