3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-06 15:25:46 +00:00

remove api_context::m_search as it's always constant (false)

This commit is contained in:
Nuno Lopes 2021-04-13 17:32:17 +01:00
parent 853ce099ec
commit afdf80509a
3 changed files with 0 additions and 13 deletions

View file

@ -86,7 +86,6 @@ namespace api {
m_error_code = Z3_OK;
m_print_mode = Z3_PRINT_SMTLIB_FULL;
m_searching = false;
m_interruptable = nullptr;
@ -156,12 +155,6 @@ namespace api {
}
}
void context::check_searching() {
if (m_searching) {
set_error_code(Z3_INVALID_USAGE, "cannot use function while searching"); // TBD: error code could be fixed.
}
}
char * context::mk_external_string(char const * str) {
m_string_buffer = str?str:"";
return const_cast<char *>(m_string_buffer.c_str());