[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 -3
View File
@@ -44,9 +44,7 @@ public:
private:
unsigned m_currentIndex;
/// The next free index is a shared pointer because we want
/// the copy and the copied to share it.
std::shared_ptr<unsigned> m_nextFreeIndex;
std::unique_ptr<unsigned> m_nextFreeIndex;
};
}