3
0
Fork 0
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:
Nuno Lopes 2020-06-29 19:14:17 +01:00
parent aec8000bda
commit 64f1a759a7
2 changed files with 2 additions and 10 deletions

View file

@ -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.