mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[SMTChecker] Use unique_ptr instead of shared_ptr where applicable.
This commit is contained in:
@@ -28,6 +28,5 @@ SSAVariable::SSAVariable()
|
||||
void SSAVariable::resetIndex()
|
||||
{
|
||||
m_currentIndex = 0;
|
||||
m_nextFreeIndex.reset (new unsigned);
|
||||
*m_nextFreeIndex = 1;
|
||||
m_nextFreeIndex = make_unique<unsigned>(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user