mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replace boost::variant by std::variant in libyul
This commit is contained in:
@@ -101,7 +101,7 @@ void ExpressionSplitter::operator()(Block& _block)
|
||||
|
||||
void ExpressionSplitter::outlineExpression(Expression& _expr)
|
||||
{
|
||||
if (_expr.type() == typeid(Identifier))
|
||||
if (holds_alternative<Identifier>(_expr))
|
||||
return;
|
||||
|
||||
visit(_expr);
|
||||
|
||||
Reference in New Issue
Block a user