diff options
| author | Mason Reed <mason@vector35.com> | 2024-12-13 15:18:10 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-12-13 15:18:13 -0500 |
| commit | 042b43f6d3f084526a0e5cf15e0ee93f9c849d27 (patch) | |
| tree | 755308c4d329fd2e58e312d38539ff763aa2c109 /plugins | |
| parent | 9c2667464b4e20cfea11cb8d3447f92f51db7440 (diff) | |
WARP: Misc bench fix
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/warp/benches/convert.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/warp/benches/convert.rs b/plugins/warp/benches/convert.rs index e916d5df..15065d8f 100644 --- a/plugins/warp/benches/convert.rs +++ b/plugins/warp/benches/convert.rs @@ -17,7 +17,7 @@ pub fn type_conversion_benchmark(c: &mut Criterion) { c.bench_function("type conversion all functions", |b| { b.iter(|| { for func in &functions { - from_bn_type(&bv, func.function_type(), u8::MAX); + from_bn_type(&bv, &func.function_type(), u8::MAX); } }) }); @@ -26,7 +26,7 @@ pub fn type_conversion_benchmark(c: &mut Criterion) { c.bench_function("type conversion all types", |b| { b.iter(|| { for ty in &types { - from_bn_type(&bv, ty.type_object().clone(), u8::MAX); + from_bn_type(&bv, &ty.type_object(), u8::MAX); } }) }); |
