summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-21 23:45:44 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-22 21:19:40 +0100
commitbece2093f220edb56506f087ad50ce86e693f9b9 (patch)
tree7eddf97a7f86ef1f9662b87ad08d25868466ebce /Userland/Libraries
parentc65424d8068571e6b758074ff22481a1c8bab11b (diff)
downloadserenity-bece2093f220edb56506f087ad50ce86e693f9b9.zip
LibJS: Remove pointless 'explicit' from a couple of constructors
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Duration.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Instant.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h2
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
index 5a54d0683b..c252adb131 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Calendar.h
@@ -17,7 +17,7 @@ class Calendar final : public Object {
JS_OBJECT(Calendar, Object);
public:
- explicit Calendar(String identifier, Object& prototype);
+ Calendar(String identifier, Object& prototype);
virtual ~Calendar() override = default;
String const& identifier() const { return m_identifier; }
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Duration.h b/Userland/Libraries/LibJS/Runtime/Temporal/Duration.h
index 1ca1a16d6d..e24657b40f 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Duration.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Duration.h
@@ -15,7 +15,7 @@ class Duration final : public Object {
JS_OBJECT(Duration, Object);
public:
- explicit Duration(double years, double months, double weeks, double days, double hours, double minutes, double seconds, double milliseconds, double microseconds, double nanoseconds, Object& prototype);
+ Duration(double years, double months, double weeks, double days, double hours, double minutes, double seconds, double milliseconds, double microseconds, double nanoseconds, Object& prototype);
virtual ~Duration() override = default;
double years() const { return m_years; }
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h b/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
index e34295946a..2a27f9829e 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/Instant.h
@@ -17,7 +17,7 @@ class Instant final : public Object {
JS_OBJECT(Instant, Object);
public:
- explicit Instant(BigInt& nanoseconds, Object& prototype);
+ Instant(BigInt& nanoseconds, Object& prototype);
virtual ~Instant() override = default;
BigInt const& nanoseconds() const { return m_nanoseconds; }
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
index e42046c69f..3265f7f59d 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/PlainDate.h
@@ -15,7 +15,7 @@ class PlainDate final : public Object {
JS_OBJECT(PlainDate, Object);
public:
- explicit PlainDate(i32 iso_year, i32 iso_month, i32 iso_day, Object& calendar, Object& prototype);
+ PlainDate(i32 iso_year, i32 iso_month, i32 iso_day, Object& calendar, Object& prototype);
virtual ~PlainDate() override = default;
[[nodiscard]] i32 iso_year() const { return m_iso_year; }
diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
index 238f1a0be2..20dfd22233 100644
--- a/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
+++ b/Userland/Libraries/LibJS/Runtime/Temporal/TimeZone.h
@@ -18,7 +18,7 @@ public:
// Needs to store values in the range -8.64 * 10^13 to 8.64 * 10^13
using OffsetType = double;
- explicit TimeZone(String identifier, Object& prototype);
+ TimeZone(String identifier, Object& prototype);
virtual ~TimeZone() override = default;
String const& identifier() const { return m_identifier; }