提交 01912efb 编写于 作者: B Behdad Esfahbod

Revert symmetric OffsetTo overloads

Reverts 57f65ae9

Caused ambiguous-overload on some gcc...
上级 d0df996c
......@@ -282,11 +282,7 @@ struct OffsetTo : Offset<OffsetType, has_null>
template <typename Base>
friend const Type& operator + (const Base *base, const OffsetTo &offset) { return offset (base); }
template <typename Base>
friend const Type& operator + (const OffsetTo &offset, const Base *base) { return offset (base); }
template <typename Base>
friend Type& operator + (Base *base, OffsetTo &offset) { return offset (base); }
template <typename Base>
friend Type& operator + (OffsetTo &offset, Base *base) { return offset (base); }
Type& serialize (hb_serialize_context_t *c, const void *base)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册