mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
inline api_context::reset_error_code()
This commit is contained in:
parent
aec8000bda
commit
64f1a759a7
2 changed files with 2 additions and 10 deletions
|
@ -147,10 +147,6 @@ namespace api {
|
|||
}
|
||||
}
|
||||
|
||||
void context::reset_error_code() {
|
||||
m_error_code = Z3_OK;
|
||||
}
|
||||
|
||||
void context::check_searching() {
|
||||
if (m_searching) {
|
||||
set_error_code(Z3_INVALID_USAGE, "cannot use function while searching"); // TBD: error code could be fixed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue