diff --git a/AK/Variant.h b/AK/Variant.h index 30856ca9a9..8962b7ee0a 100644 --- a/AK/Variant.h +++ b/AK/Variant.h @@ -215,7 +215,10 @@ namespace AK { struct Empty { }; -template +template +concept NotLvalueReference = !IsLvalueReference; + +template struct Variant : public Detail::MergeAndDeduplicatePacks>...> { private: @@ -244,7 +247,7 @@ public: { } - template + template friend struct Variant; Variant() requires(!can_contain()) = delete;