aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/formal/SMTChecker.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-10-10 17:43:42 +0800
committerGitHub <noreply@github.com>2018-10-10 17:43:42 +0800
commit06200b4b64c911ea2e0b12076e0fa02093dacbf8 (patch)
tree5465e3be065998e506145d8e7272cc783d185427 /libsolidity/formal/SMTChecker.cpp
parentf6f0cecc2f64f4fcda3da467bbe306b5859729aa (diff)
parent6c3d12d85bc7977817e8dc1c5bd0af4b29406b58 (diff)
downloaddexon-solidity-06200b4b64c911ea2e0b12076e0fa02093dacbf8.tar.gz
dexon-solidity-06200b4b64c911ea2e0b12076e0fa02093dacbf8.tar.zst
dexon-solidity-06200b4b64c911ea2e0b12076e0fa02093dacbf8.zip
Merge pull request #5180 from ethereum/cpp-cleanup
Some C++ cleanup
Diffstat (limited to 'libsolidity/formal/SMTChecker.cpp')
-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();
}