mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +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
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