diff --git a/Libraries/LibJS/Runtime/ModuleRequest.h b/Libraries/LibJS/Runtime/ModuleRequest.h index 3a447b1d3f0..34f84d8baae 100644 --- a/Libraries/LibJS/Runtime/ModuleRequest.h +++ b/Libraries/LibJS/Runtime/ModuleRequest.h @@ -22,6 +22,8 @@ struct ModuleWithSpecifier { struct ImportAttribute { ByteString key; ByteString value; + + bool operator==(ImportAttribute const&) const = default; }; // https://tc39.es/proposal-import-attributes/#modulerequest-record @@ -42,6 +44,8 @@ struct ModuleRequest { DeprecatedFlyString module_specifier; // [[Specifier]] Vector attributes; // [[Attributes]] + + bool operator==(ModuleRequest const&) const = default; }; }