Add missing const (#7401)

This commit is contained in:
Atil Kurtulmus
2022-08-05 15:11:00 +00:00
committed by GitHub
parent da702cfd8f
commit 50dd385b30

View File

@@ -164,7 +164,7 @@ struct Type {
enum_def(_ed),
fixed_length(_fixed_length) {}
bool operator==(const Type &o) {
bool operator==(const Type &o) const {
return base_type == o.base_type && element == o.element &&
struct_def == o.struct_def && enum_def == o.enum_def;
}