mirror of
https://github.com/Z3Prover/z3
synced 2026-06-22 00:20:27 +00:00
Remove const_cast from smt_solver context access
This commit is contained in:
parent
a3f07ba9ab
commit
4b7e4cf08a
4 changed files with 17 additions and 11 deletions
|
|
@ -292,6 +292,10 @@ namespace smt {
|
|||
return m_imp->m_kernel;
|
||||
}
|
||||
|
||||
context const& kernel::get_context() const {
|
||||
return m_imp->m_kernel;
|
||||
}
|
||||
|
||||
void kernel::get_levels(ptr_vector<expr> const& vars, unsigned_vector& depth) {
|
||||
m_imp->m_kernel.get_levels(vars, depth);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue