Skip to content

Commit 82792a6

Browse files
committed
LibJS: Mark single argument BigInt() constructor as 'explicit'
1 parent 05aeff1 commit 82792a6

File tree

1 file changed

+1
-1
lines changed
  • Userland/Libraries/LibJS/Runtime

1 file changed

+1
-1
lines changed

Userland/Libraries/LibJS/Runtime/BigInt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace JS {
1313

1414
class BigInt final : public Cell {
1515
public:
16-
BigInt(Crypto::SignedBigInteger);
16+
explicit BigInt(Crypto::SignedBigInteger);
1717
virtual ~BigInt();
1818

1919
const Crypto::SignedBigInteger& big_integer() const { return m_big_integer; }

0 commit comments

Comments
 (0)