3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-05 21:53:23 +00:00
This commit is contained in:
Christoph M. Wintersteiger 2015-08-01 14:29:45 +01:00
parent bea8744f7d
commit ca4a7ca74e

View file

@ -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