LibJS: Mark single argument BigInt() constructor as 'explicit'

This commit is contained in:
Linus Groh 2021-10-30 10:20:57 +02:00
parent 05aeff1c4d
commit 82792a6815

View file

@ -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; }