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:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user