summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.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/ZonedDateTime.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/ZonedDateTime.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h b/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
index d364454027..73886e95d1 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/ZonedDateTime.h
@@ -34,6 +34,6 @@ private:
Object& m_calendar; // [[Calendar]]
};
-ZonedDateTime* create_temporal_zoned_date_time(GlobalObject&, BigInt& epoch_nanoseconds, Object& time_zone, Object& calendar, FunctionObject* new_target = nullptr);
+ZonedDateTime* create_temporal_zoned_date_time(GlobalObject&, BigInt& epoch_nanoseconds, Object& time_zone, Object& calendar, FunctionObject const* new_target = nullptr);
}