[tint] Fix build
Two CLs landed which were incompatible with each other.
Change-Id: I880c00113e036264ac69d0b6120d725f3686977d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173521
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Ben Clayton <bclayton@google.com>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
diff --git a/src/tint/lang/hlsl/writer/common/options.h b/src/tint/lang/hlsl/writer/common/options.h
index eb038de..781ca12 100644
--- a/src/tint/lang/hlsl/writer/common/options.h
+++ b/src/tint/lang/hlsl/writer/common/options.h
@@ -65,7 +65,7 @@
inline bool operator!=(const BindingInfo& rhs) const { return !(*this == rhs); }
/// @returns the hash code of the BindingInfo
- size_t HashCode() const { return Hash(group, binding); }
+ tint::HashCode HashCode() const { return Hash(group, binding); }
/// Reflect the fields of this class so that it can be used by tint::ForeachField()
TINT_REFLECT(BindingInfo, group, binding);
diff --git a/src/tint/lang/msl/writer/common/options.h b/src/tint/lang/msl/writer/common/options.h
index 2f5e770..b1d4ff1 100644
--- a/src/tint/lang/msl/writer/common/options.h
+++ b/src/tint/lang/msl/writer/common/options.h
@@ -53,7 +53,7 @@
inline bool operator!=(const BindingInfo& rhs) const { return !(*this == rhs); }
/// @returns the hash code of the BindingInfo
- size_t HashCode() const { return Hash(binding); }
+ tint::HashCode HashCode() const { return Hash(binding); }
/// Reflect the fields of this class so taht it can be used by tint::ForeachField()
TINT_REFLECT(BindingInfo, binding);
diff --git a/src/tint/lang/spirv/writer/common/options.h b/src/tint/lang/spirv/writer/common/options.h
index 0fd6f8c..e16b267 100644
--- a/src/tint/lang/spirv/writer/common/options.h
+++ b/src/tint/lang/spirv/writer/common/options.h
@@ -55,7 +55,7 @@
inline bool operator!=(const BindingInfo& rhs) const { return !(*this == rhs); }
/// @returns the hash code of the BindingInfo
- size_t HashCode() const { return Hash(group, binding); }
+ tint::HashCode HashCode() const { return Hash(group, binding); }
/// Reflect the fields of this class so that it can be used by tint::ForeachField()
TINT_REFLECT(BindingInfo, group, binding);