mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use empty() instead of size() == 0
This commit is contained in:
@@ -894,7 +894,7 @@ void SMTChecker::pushPathCondition(smt::Expression const& _e)
|
||||
|
||||
smt::Expression SMTChecker::currentPathConditions()
|
||||
{
|
||||
if (m_pathConditions.size() == 0)
|
||||
if (m_pathConditions.empty())
|
||||
return smt::Expression(true);
|
||||
return m_pathConditions.back();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user