3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-04 18:30:24 +00:00

Style, whitespace.

This commit is contained in:
Christoph M. Wintersteiger 2016-12-16 20:04:29 +00:00
parent a1a662b23f
commit 6ce903b1d6
2 changed files with 10 additions and 11 deletions

View file

@ -20,7 +20,7 @@ Revision History:
#include "common_msgs.h" #include "common_msgs.h"
reslimit::reslimit(): reslimit::reslimit():
m_cancel(false), m_cancel(0),
m_count(0), m_count(0),
m_limit(0) { m_limit(0) {
} }
@ -29,7 +29,6 @@ uint64 reslimit::count() const {
return m_count; return m_count;
} }
bool reslimit::inc() { bool reslimit::inc() {
++m_count; ++m_count;
return m_cancel == 0 && (m_limit == 0 || m_count <= m_limit); return m_cancel == 0 && (m_limit == 0 || m_count <= m_limit);
@ -46,7 +45,7 @@ void reslimit::push(unsigned delta_limit) {
new_limit = 0; new_limit = 0;
} }
m_limits.push_back(m_limit); m_limits.push_back(m_limit);
m_limit = m_limit==0?new_limit:std::min(new_limit, m_limit); m_limit = m_limit==0 ? new_limit : std::min(new_limit, m_limit);
m_cancel = 0; m_cancel = 0;
} }