diff options
Diffstat (limited to 'dviware/dvisvgm/libs/woff2/src/woff2_enc.cc')
-rw-r--r-- | dviware/dvisvgm/libs/woff2/src/woff2_enc.cc | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/dviware/dvisvgm/libs/woff2/src/woff2_enc.cc b/dviware/dvisvgm/libs/woff2/src/woff2_enc.cc index 9f32df90ee..43c8bdc9d8 100644 --- a/dviware/dvisvgm/libs/woff2/src/woff2_enc.cc +++ b/dviware/dvisvgm/libs/woff2/src/woff2_enc.cc @@ -28,12 +28,8 @@ namespace woff2 { -namespace { - - -using std::string; -using std::vector; +namespace { const size_t kWoff2HeaderSize = 48; const size_t kWoff2EntrySize = 20; @@ -183,7 +179,7 @@ size_t MaxWOFF2CompressedSize(const uint8_t* data, size_t length) { } size_t MaxWOFF2CompressedSize(const uint8_t* data, size_t length, - const string& extended_metadata) { + const std::string& extended_metadata) { // Except for the header size, which is 32 bytes larger in woff2 format, // all other parts should be smaller (table header in short format, // transformations and compression). Just to be sure, we will give some |