[perf/benchmark-font] Cosmetic

This commit is contained in:
Behdad Esfahbod 2022-05-02 16:31:59 -06:00
parent 307d2d8bb6
commit 3fff2e9182
2 changed files with 2 additions and 2 deletions

View File

@ -159,9 +159,9 @@ static void test_backend (backend_t backend,
char name[1024] = "BM_Font/"; char name[1024] = "BM_Font/";
strcat (name, op_name); strcat (name, op_name);
strcat (name, strrchr (test_input.font_path, '/')); strcat (name, strrchr (test_input.font_path, '/'));
strcat (name, variable ? "/var" : "");
strcat (name, "/"); strcat (name, "/");
strcat (name, backend_name); strcat (name, backend_name);
strcat (name, variable ? "/var" : "");
benchmark::RegisterBenchmark (name, BM_Font, variable, backend, op, test_input) benchmark::RegisterBenchmark (name, BM_Font, variable, backend, op, test_input)
->Unit(time_unit); ->Unit(time_unit);

View File

@ -691,7 +691,7 @@ struct CmapSubtableTrimmed
}; };
struct CmapSubtableFormat6 : CmapSubtableTrimmed<HBUINT16> {}; struct CmapSubtableFormat6 : CmapSubtableTrimmed<HBUINT16> {};
struct CmapSubtableFormat10 : CmapSubtableTrimmed<HBUINT32 > {}; struct CmapSubtableFormat10 : CmapSubtableTrimmed<HBUINT32> {};
template <typename T> template <typename T>
struct CmapSubtableLongSegmented struct CmapSubtableLongSegmented