Use more const functions.

This commit is contained in:
Stephen Chung
2021-11-27 14:24:06 +08:00
parent 280b5b405e
commit abe6b4a29b
7 changed files with 19 additions and 14 deletions

View File

@@ -1159,7 +1159,7 @@ impl Engine {
progress: None,
#[cfg(not(feature = "no_optimize"))]
optimization_level: Default::default(),
optimization_level: crate::OptimizationLevel::default(),
#[cfg(not(feature = "unchecked"))]
limits: Limits::new(),