3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-28 21:08:43 +00:00

Revert "Refactor find_tactic_cmd to use std::optional<tactic_cmd*> (#8331)"

This reverts commit 7b182c9440.
This commit is contained in:
Nikolaj Bjorner 2026-01-26 13:20:03 -08:00
parent 3f26d42215
commit 76d46ee48a
4 changed files with 13 additions and 15 deletions

View file

@ -57,11 +57,10 @@ void tactic_manager::insert(probe_info * p) {
m_probes.push_back(p);
}
std::optional<tactic_cmd*> tactic_manager::find_tactic_cmd(symbol const & s) const {
tactic_cmd * tactic_manager::find_tactic_cmd(symbol const & s) const {
tactic_cmd * c = nullptr;
if (m_name2tactic.find(s, c))
return c;
return std::nullopt;
m_name2tactic.find(s, c);
return c;
}
simplifier_cmd * tactic_manager::find_simplifier_cmd(symbol const & s) const {