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

master
Brad Kittenbrink 2022-11-11 15:31:46 -08:00
parent cd997f21c2
commit 6ec534e8d8
1 changed files with 2 additions and 0 deletions

View File

@ -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 */