Fix compilation with MSVC 14.3 in C++20 mode.

This commit is contained in:
Andrey Semashev
2023-07-14 02:22:09 +03:00
parent b32d95a887
commit eb721609af

View File

@ -201,7 +201,7 @@ struct comparible_UDT
i_ = other.i_;
return *this;
}
bool operator == (const comparible_UDT& v){ return v.i_ == i_; }
bool operator == (const comparible_UDT& v) const { return v.i_ == i_; }
};
int main()