[SMTChecker] Use unique_ptr instead of shared_ptr where applicable.

This commit is contained in:
Leonardo Alt
2019-05-09 16:34:22 +02:00
parent c3a1c168d0
commit c8a017ccd6
8 changed files with 18 additions and 21 deletions
+1 -2
View File
@@ -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);
}