diff options
author | Linus Groh <mail@linusgroh.de> | 2021-10-30 10:20:57 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-30 16:32:20 +0200 |
commit | 82792a6815ce22ebc225ade8cecfe0b2c8e71cd7 (patch) | |
tree | b0e20de17bc4dafecf349016fc43ae2b1032271a /Userland/Libraries/LibJS/Runtime/BigInt.h | |
parent | 05aeff1c4d3b5a86b4ca0f73e9f0736aef84800a (diff) | |
download | serenity-82792a6815ce22ebc225ade8cecfe0b2c8e71cd7.zip |
LibJS: Mark single argument BigInt() constructor as 'explicit'
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/BigInt.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/BigInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/BigInt.h b/Userland/Libraries/LibJS/Runtime/BigInt.h index 717e07d3af..f735a89780 100644 --- a/Userland/Libraries/LibJS/Runtime/BigInt.h +++ b/Userland/Libraries/LibJS/Runtime/BigInt.h @@ -13,7 +13,7 @@ namespace JS { class BigInt final : public Cell { public: - BigInt(Crypto::SignedBigInteger); + explicit BigInt(Crypto::SignedBigInteger); virtual ~BigInt(); const Crypto::SignedBigInteger& big_integer() const { return m_big_integer; } |