[serialize] Disable packed_map again
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 3 Apr 2019 03:20:53 +0000 (20:20 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 3 Apr 2019 03:20:53 +0000 (20:20 -0700)
Ugh.  Need to think of something else.

src/hb-serialize.hh

index d800c70..2a97fd1 100644 (file)
@@ -197,6 +197,7 @@ struct hb_serialize_context_t
 
     objidx = packed.length - 1;
 
+    if (0) // XXX Ouch.  Our hashmap becomes invalid if packed resizes!
     packed_map.set (key, objidx);
 
     return objidx;