From c189ed6d1805fed135bfaae08999ffc9a21d2896 Mon Sep 17 00:00:00 2001 From: Alexander McCord Date: Sun, 26 May 2024 19:57:00 -0700 Subject: [PATCH] Rename a couple of type parameters to `Phantom` to make them clear. --- EqSat/include/Luau/Language.h | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/EqSat/include/Luau/Language.h b/EqSat/include/Luau/Language.h index c2ca7ac5..73dd089a 100644 --- a/EqSat/include/Luau/Language.h +++ b/EqSat/include/Luau/Language.h @@ -46,7 +46,7 @@ namespace Luau::EqSat return !(*this == rhs); \ } -template +template struct Atom { T value; @@ -67,28 +67,12 @@ struct FieldBase { }; -template +template struct Field : FieldBase { - Id id; - - Field(Id id) - : id(id) - { - } - - DERIVE_EQ(Field, id); - - struct Hash - { - size_t operator()(const Field& field) const - { - return std::hash{}(field.id); - } - }; }; -template +template class Node { static_assert(std::conjunction...>::value);