Ugh. How was the Travis bot happy before, but isn't now?! :(

This commit is contained in:
Behdad Esfahbod 2019-05-15 01:02:50 -07:00
parent e01c7b1648
commit 004edf3bda
1 changed files with 4 additions and 4 deletions

View File

@ -357,13 +357,13 @@ using NNOffsetTo = OffsetTo<Type, OffsetType, false>;
template <typename Type> template <typename Type>
using LNNOffsetTo = LOffsetTo<Type, false>; using LNNOffsetTo = LOffsetTo<Type, false>;
template <typename Type, typename OffsetType=HBUINT16, bool has_null=true, typename Base> template <typename Base, typename Type, typename OffsetType, bool has_null>
static inline const Type& operator + (const Base *base, const OffsetTo<Type, OffsetType, has_null> &offset) { return offset (base); } static inline const Type& operator + (const Base *base, const OffsetTo<Type, OffsetType, has_null> &offset) { return offset (base); }
template <typename Type, typename OffsetType=HBUINT16, bool has_null=true, typename Base> template <typename Base, typename Type, typename OffsetType, bool has_null>
static inline const Type& operator + (const OffsetTo<Type, OffsetType, has_null> &offset, const Base *base) { return offset (base); } static inline const Type& operator + (const OffsetTo<Type, OffsetType, has_null> &offset, const Base *base) { return offset (base); }
template <typename Type, typename OffsetType=HBUINT16, bool has_null=true, typename Base> template <typename Base, typename Type, typename OffsetType, bool has_null>
static inline Type& operator + (Base *base, OffsetTo<Type, OffsetType, has_null> &offset) { return offset (base); } static inline Type& operator + (Base *base, OffsetTo<Type, OffsetType, has_null> &offset) { return offset (base); }
template <typename Type, typename OffsetType=HBUINT16, bool has_null=true, typename Base> template <typename Base, typename Type, typename OffsetType, bool has_null>
static inline Type& operator + (OffsetTo<Type, OffsetType, has_null> &offset, Base *base) { return offset (base); } static inline Type& operator + (OffsetTo<Type, OffsetType, has_null> &offset, Base *base) { return offset (base); }