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

This commit is contained in:
Linus Groh 2021-10-30 10:20:57 +02:00
commit 82792a6815
Notes: sideshowbarker 2024-07-18 01:44:59 +09:00

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