mirror of
https://github.com/Z3Prover/z3
synced 2026-01-28 21:08:43 +00:00
Revert "Refactor find_probe() to use std::optional (#8334)"
This reverts commit 49817bc259.
This commit is contained in:
parent
7a2eea6f40
commit
3f26d42215
4 changed files with 13 additions and 14 deletions
|
|
@ -70,10 +70,9 @@ simplifier_cmd * tactic_manager::find_simplifier_cmd(symbol const & s) const {
|
|||
return c;
|
||||
}
|
||||
|
||||
std::optional<probe_info*> tactic_manager::find_probe(symbol const & s) const {
|
||||
probe_info * tactic_manager::find_probe(symbol const & s) const {
|
||||
probe_info * p = nullptr;
|
||||
if (m_name2probe.find(s, p))
|
||||
return p;
|
||||
return std::nullopt;
|
||||
m_name2probe.find(s, p);
|
||||
return p;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue