LibJS: Make options object const in more Temporal AOs

This commit is contained in:
Linus Groh 2022-04-07 23:54:17 +01:00
commit e109b967a1
Notes: sideshowbarker 2024-07-17 14:17:01 +09:00
19 changed files with 36 additions and 36 deletions

View file

@ -31,7 +31,7 @@ void PlainYearMonth::visit_edges(Visitor& visitor)
}
// 9.5.1 ToTemporalYearMonth ( item [ , options ] ), https://tc39.es/proposal-temporal/#sec-temporal-totemporalyearmonth
ThrowCompletionOr<PlainYearMonth*> to_temporal_year_month(GlobalObject& global_object, Value item, Object* options)
ThrowCompletionOr<PlainYearMonth*> to_temporal_year_month(GlobalObject& global_object, Value item, Object const* options)
{
auto& vm = global_object.vm();