summaryrefslogtreecommitdiff
path: root/plugins/warp/src/cache/function.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-11-24 18:43:52 -0500
committerMason Reed <mason@vector35.com>2025-12-15 17:26:10 -0500
commit58cc21e4fae58cedd586497a220a0bbe285ef831 (patch)
treeb7e0263abbbf079e39f966d1d828593a458275d3 /plugins/warp/src/cache/function.rs
parent2a899b31320a5ebfba009961f47b8f53b4eadf02 (diff)
[WARP] Misc cleanup
Diffstat (limited to 'plugins/warp/src/cache/function.rs')
-rw-r--r--plugins/warp/src/cache/function.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/cache/function.rs b/plugins/warp/src/cache/function.rs
index a953f514..79b9e86a 100644
--- a/plugins/warp/src/cache/function.rs
+++ b/plugins/warp/src/cache/function.rs
@@ -11,7 +11,7 @@ use warp::signature::function::Function;
/// IMPORTANT: This will mark the function as needing updates, if you intend to fill in functions with
/// no match (i.e. `None`), then you must change this function to prevent marking that as needing updates.
/// However, it's perfectly valid to remove a match and need to update the function still, so be careful.
-pub fn insert_cached_function_match(function: &BNFunction, matched_function: Option<Function>) {
+pub fn insert_cached_function_match(function: &BNFunction, matched_function: Option<&Function>) {
let view = function.view();
let function_start = function.start();
// NOTE: If we expect to run match_function multiple times on a function, we should move this elsewhere.