Minor
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 13 Feb 2018 21:59:39 +0000 (13:59 -0800)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 13 Feb 2018 21:59:39 +0000 (13:59 -0800)
src/hb-aat-layout-morx-table.hh

index 2bb8089..6bd0267 100644 (file)
@@ -40,6 +40,8 @@ using namespace OT;
 
 struct RearrangementSubtable
 {
+  typedef void EntryData;
+
   struct driver_context_t
   {
     static const bool in_place = true;
@@ -60,13 +62,13 @@ struct RearrangementSubtable
        ret (false),
        start (0), end (0) {}
 
-    inline bool is_actionable (StateTableDriver<void> *driver,
-                              const Entry<void> *entry)
+    inline bool is_actionable (StateTableDriver<EntryData> *driver,
+                              const Entry<EntryData> *entry)
     {
       return (entry->flags & Verb) && start < end;
     }
-    inline bool transition (StateTableDriver<void> *driver,
-                           const Entry<void> *entry)
+    inline bool transition (StateTableDriver<EntryData> *driver,
+                           const Entry<EntryData> *entry)
     {
       hb_buffer_t *buffer = driver->buffer;
       unsigned int flags = entry->flags;