summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/BigInt.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-10-30 10:20:57 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-30 16:32:20 +0200
commit82792a6815ce22ebc225ade8cecfe0b2c8e71cd7 (patch)
treeb0e20de17bc4dafecf349016fc43ae2b1032271a /Userland/Libraries/LibJS/Runtime/BigInt.h
parent05aeff1c4d3b5a86b4ca0f73e9f0736aef84800a (diff)
downloadserenity-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.h2
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; }