mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replace IntegerType(256) with static function IntegerType::uint256()
This commit is contained in:
@@ -374,6 +374,8 @@ public:
|
||||
Unsigned, Signed
|
||||
};
|
||||
|
||||
static IntegerType& uint256() { static std::shared_ptr<IntegerType> uint256(std::make_shared<IntegerType>(256)); return *uint256; }
|
||||
|
||||
Category category() const override { return Category::Integer; }
|
||||
|
||||
explicit IntegerType(unsigned _bits, Modifier _modifier = Modifier::Unsigned);
|
||||
|
||||
Reference in New Issue
Block a user