Skip to content

Commit 755f579

Browse files
fix #7622
1 parent 81f1091 commit 755f579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/api_config_params.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ extern "C" {
6969
LOG_Z3_get_global_param_descrs(c);
7070
Z3_param_descrs_ref * d = alloc(Z3_param_descrs_ref, *mk_c(c));
7171
mk_c(c)->save_object(d);
72-
d->m_descrs = gparams::get_global_param_descrs();
72+
d->m_descrs.copy(const_cast<param_descrs&>(gparams::get_global_param_descrs()));
7373
auto r = of_param_descrs(d);
7474
RETURN_Z3(r);
7575
Z3_CATCH_RETURN(nullptr);

0 commit comments

Comments
 (0)