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:
parent
3f26d42215
commit
76d46ee48a
4 changed files with 13 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue