Fix c++20 build

This commit is contained in:
Behdad Esfahbod 2023-01-26 12:18:50 -07:00
parent e1dc4920ee
commit aea37bfd37
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&