diff --git a/src/hb-serialize.hh b/src/hb-serialize.hh index dc9cc8226..ccb7af988 100644 --- a/src/hb-serialize.hh +++ b/src/hb-serialize.hh @@ -393,7 +393,7 @@ struct hb_serialize_context_t { return _copy (src, hb_prioritize, hb_forward (ds)...); } template - hb_serialize_context_t &operator << (const Type &obj) { embed (obj); return *this; } + hb_serialize_context_t& operator << (const Type &obj) & { embed (obj); return *this; } template Type *extend_size (Type &obj, unsigned int size)