summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/Temporal/Duration.h
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/LibJS/Runtime/Temporal/Duration.h
parentc65424d8068571e6b758074ff22481a1c8bab11b (diff)
downloadserenity-bece2093f220edb56506f087ad50ce86e693f9b9.zip
LibJS: Remove pointless 'explicit' from a couple of constructors
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/Temporal/Duration.h')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Temporal/Duration.h2
1 files changed, 1 insertions, 1 deletions
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; }