From aea37bfd370b880c553c1b5c80b7ddba59a28be6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 26 Jan 2023 12:18:50 -0700 Subject: [PATCH] Fix c++20 build --- src/hb-subset-instancer-solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-subset-instancer-solver.cc b/src/hb-subset-instancer-solver.cc index b7d6538a8..76b86e0e9 100644 --- a/src/hb-subset-instancer-solver.cc +++ b/src/hb-subset-instancer-solver.cc @@ -43,7 +43,7 @@ struct Triple { Triple (float minimum_, float middle_, float maximum_) : minimum (minimum_), middle (middle_), maximum (maximum_) {} - bool operator == (const Triple &o) + bool operator == (const Triple &o) const { return minimum == o.minimum && middle == o.middle &&