Commit 0591a020 authored by Kenton Varda's avatar Kenton Varda

Fix build. Not sure why clang allowed this.

parent bd500c56
...@@ -806,10 +806,10 @@ inline uint StructSchema::Field::hashCode() const { ...@@ -806,10 +806,10 @@ inline uint StructSchema::Field::hashCode() const {
return kj::hashCode(parent, index); return kj::hashCode(parent, index);
} }
inline uint EnumSchema::Enumerant::hashCode() const { inline uint EnumSchema::Enumerant::hashCode() const {
return kj::hashCode(parent, index); return kj::hashCode(parent, ordinal);
} }
inline uint InterfaceSchema::Method::hashCode() const { inline uint InterfaceSchema::Method::hashCode() const {
return kj::hashCode(parent, index); return kj::hashCode(parent, ordinal);
} }
inline ListSchema ListSchema::of(StructSchema elementType) { inline ListSchema ListSchema::of(StructSchema elementType) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment