mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make use of C++17 std::optional<> instead of boost::optional<>.
This commit is contained in:
@@ -35,7 +35,7 @@ void SSAReverser::operator()(Block& _block)
|
||||
walkVector(_block.statements);
|
||||
iterateReplacingWindow<2>(
|
||||
_block.statements,
|
||||
[&](Statement& _stmt1, Statement& _stmt2) -> boost::optional<vector<Statement>>
|
||||
[&](Statement& _stmt1, Statement& _stmt2) -> std::optional<vector<Statement>>
|
||||
{
|
||||
auto* varDecl = boost::get<VariableDeclaration>(&_stmt1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user