Fix Class operator return type

This commit is contained in:
Behdad Esfahbod 2010-04-20 15:52:47 -04:00
parent f9b3772798
commit a87072db5d
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ ASSERT_SIZE (ClassDefFormat2, 4);
struct ClassDef struct ClassDef
{ {
inline unsigned int operator() (hb_codepoint_t glyph_id) const { return get_class (glyph_id); } inline hb_ot_layout_class_t operator() (hb_codepoint_t glyph_id) const { return get_class (glyph_id); }
inline hb_ot_layout_class_t get_class (hb_codepoint_t glyph_id) const inline hb_ot_layout_class_t get_class (hb_codepoint_t glyph_id) const
{ {