mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +00:00
nits
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
21058c38fd
commit
b573b94f84
8 changed files with 20 additions and 24 deletions
|
@ -85,13 +85,6 @@ namespace opt {
|
|||
~toggle_objective();
|
||||
};
|
||||
|
||||
class scoped_push {
|
||||
solver& s;
|
||||
public:
|
||||
scoped_push(solver& s):s(s) { s.push(); }
|
||||
~scoped_push() { s.pop(1); }
|
||||
};
|
||||
|
||||
smt::context& get_context() { return m_context.get_context(); } // used by weighted maxsat.
|
||||
|
||||
smt::theory_opt& get_optimizer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue