mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove remaining instances of new.
This commit is contained in:
@@ -47,6 +47,6 @@ FunctionFlow const& CFG::functionFlow(FunctionDefinition const& _function) const
|
||||
|
||||
CFGNode* CFG::NodeContainer::newNode()
|
||||
{
|
||||
m_nodes.emplace_back(new CFGNode());
|
||||
m_nodes.emplace_back(std::make_unique<CFGNode>());
|
||||
return m_nodes.back().get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user