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:
parent
853ce099ec
commit
afdf80509a
3 changed files with 0 additions and 13 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue