Sort tables when decoding

This commit is contained in:
Rod Sheeter
2015-02-12 09:56:29 -08:00
parent 0a8567d4f9
commit 445f541996
2 changed files with 12 additions and 2 deletions
+4
View File
@@ -43,6 +43,10 @@ struct Table {
uint32_t dst_offset;
uint32_t dst_length;
const uint8_t* dst_data;
bool operator<(const Table& other) const {
return tag < other.tag;
}
};
} // namespace woff2