mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
LibJS: Make default_merge_fields() {additional_,}fields Object a const&
This only calls Object::{get,enumerable_own_property_names}() on the fields and additional_fields Objects, both of which are const-qualified.
This commit is contained in:
parent
4bba61fd59
commit
4e5becf36e
Notes:
sideshowbarker
2024-07-18 04:21:03 +09:00
Author: https://github.com/linusg
Commit: 4e5becf36e
Pull-request: https://github.com/SerenityOS/serenity/pull/9918
Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 2 additions and 2 deletions
|
@ -72,6 +72,6 @@ i32 iso_year(Object& temporal_object);
|
|||
u8 iso_month(Object& temporal_object);
|
||||
String iso_month_code(Object& temporal_object);
|
||||
u8 iso_day(Object& temporal_object);
|
||||
Object* default_merge_fields(GlobalObject&, Object& fields, Object& additional_fields);
|
||||
Object* default_merge_fields(GlobalObject&, Object const& fields, Object const& additional_fields);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue