3
0
Fork 0
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:
copilot-swe-agent[bot] 2026-06-12 06:15:29 +00:00 committed by GitHub
parent a3f07ba9ab
commit 4b7e4cf08a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 11 deletions

View file

@ -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);
}