aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-10-09 11:29:37 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-10-09 11:29:37 +0800
commitfa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85 (patch)
tree40d4605d3e6c971f35ae667d5962b8e03b9df144 /libsolidity/formal
parent4ab2e03be3e5550a68a2fcf1608cdcb942dd8957 (diff)
downloaddexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.tar
dexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.tar.gz
dexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.tar.bz2
dexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.tar.lz
dexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.tar.xz
dexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.tar.zst
dexon-solidity-fa0ce6a7e7abd5bbc9bad1dd15f54ea4e9b11f85.zip
Use empty() instead of size() == 0
Diffstat (limited to 'libsolidity/formal')
-rw-r--r--libsolidity/formal/SMTChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/formal/SMTChecker.cpp b/libsolidity/formal/SMTChecker.cpp
index 19785817..a7973852 100644
--- a/libsolidity/formal/SMTChecker.cpp
+++ b/libsolidity/formal/SMTChecker.cpp
@@ -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();
}