mirror of
https://github.com/Z3Prover/z3
synced 2025-06-05 21:53:23 +00:00
style
This commit is contained in:
parent
bea8744f7d
commit
ca4a7ca74e
1 changed files with 2 additions and 1 deletions
|
@ -139,6 +139,7 @@ public:
|
||||||
\brief Display the content of this solver.
|
\brief Display the content of this solver.
|
||||||
*/
|
*/
|
||||||
virtual void display(std::ostream & out) const;
|
virtual void display(std::ostream & out) const;
|
||||||
|
|
||||||
class scoped_push {
|
class scoped_push {
|
||||||
solver& s;
|
solver& s;
|
||||||
bool m_nopop;
|
bool m_nopop;
|
||||||
|
@ -147,9 +148,9 @@ public:
|
||||||
~scoped_push() { if (!m_nopop) s.pop(1); }
|
~scoped_push() { if (!m_nopop) s.pop(1); }
|
||||||
void disable_pop() { m_nopop = true; }
|
void disable_pop() { m_nopop = true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void set_cancel(bool f) = 0;
|
virtual void set_cancel(bool f) = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue