From 82792a6815ce22ebc225ade8cecfe0b2c8e71cd7 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 30 Oct 2021 10:20:57 +0200 Subject: [PATCH] LibJS: Mark single argument BigInt() constructor as 'explicit' --- Userland/Libraries/LibJS/Runtime/BigInt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }