mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Replace push_back with emplace_back where it makes sense
This commit is contained in:
@@ -87,7 +87,7 @@ void ControlFlowGraph::splitBlocks()
|
||||
m_blocks[id].begin = index;
|
||||
}
|
||||
if (item.type() == PushTag)
|
||||
m_blocks[id].pushedTags.push_back(BlockId(item.data()));
|
||||
m_blocks[id].pushedTags.emplace_back(item.data());
|
||||
if (SemanticInformation::altersControlFlow(item))
|
||||
{
|
||||
m_blocks[id].end = index + 1;
|
||||
|
||||
Reference in New Issue
Block a user