summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-09-09 21:10:12 +0100
committerLinus Groh <mail@linusgroh.de>2021-09-09 23:46:45 +0100
commite4c07c5b8fc46ab3ffddbea746c407fe8087621c (patch)
tree3d5de7c326ebc26d75b216df089748e133249f9b /Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
parentcf71805aa87f937e87a1e651b64a2803bc269597 (diff)
downloadserenity-e4c07c5b8fc46ab3ffddbea746c407fe8087621c.zip
LibJS: Make new_target parameter of all Temporal AOs a const*
These are passed to ordinary_create_from_constructor() in each case, which takes the parameter as a const&, so these can also be const.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
index 3280bf68a1..a2d7a0dd02 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainMonthDay.h
@@ -39,7 +39,7 @@ struct ISOMonthDay {
i32 reference_iso_year;
};
-PlainMonthDay* create_temporal_month_day(GlobalObject&, u8 iso_month, u8 iso_day, Object& calendar, i32 reference_iso_year, FunctionObject* new_target = nullptr);
+PlainMonthDay* create_temporal_month_day(GlobalObject&, u8 iso_month, u8 iso_day, Object& calendar, i32 reference_iso_year, FunctionObject const* new_target = nullptr);
Optional<String> temporal_month_day_to_string(GlobalObject&, PlainMonthDay&, StringView show_calendar);
}