[hvgl/transforms] Add a likely()

This commit is contained in:
Behdad Esfahbod committed 2025-03-03 15:35:58 -07:00
1 parent 95a3b95a3e
commit d65ec49177
1 file changed
+1 -1
+1 -1
View File
@@ -595,7 +595,7 @@ PartComposite::get_path_at (const hb_hvgl_context_t *c,
{
auto &this_transform = transforms_tail[subPart.treeTransformIndex];
if (this_transform.is_translation ())
if (likely (this_transform.is_translation ()))
{
double dx = this_transform.x0;
double dy = this_transform.y0;