File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,12 @@ impl Optimize {
283283 }
284284}
285285
286+ impl Default for Optimize {
287+ fn default ( ) -> Self {
288+ Self :: new ( )
289+ }
290+ }
291+
286292impl fmt:: Display for Optimize {
287293 fn fmt ( & self , f : & mut fmt:: Formatter ) -> Result < ( ) , fmt:: Error > {
288294 let p = unsafe { Z3_optimize_to_string ( self . ctx . z3_ctx . 0 , self . z3_opt ) } ;
Original file line number Diff line number Diff line change @@ -65,6 +65,12 @@ impl Params {
6565 }
6666}
6767
68+ impl Default for Params {
69+ fn default ( ) -> Self {
70+ Self :: new ( )
71+ }
72+ }
73+
6874/// Get a global (or module) parameter.
6975///
7076/// # See also
Original file line number Diff line number Diff line change @@ -557,6 +557,12 @@ impl Solver {
557557 }
558558}
559559
560+ impl Default for Solver {
561+ fn default ( ) -> Self {
562+ Self :: new ( )
563+ }
564+ }
565+
560566struct SolverIterator < T > {
561567 solver : Solver ,
562568 ast : T ,
You can’t perform that action at this time.
0 commit comments