diff --git a/src/lru.h b/src/lru.h index 3df78ed59..c1f01c96b 100644 --- a/src/lru.h +++ b/src/lru.h @@ -101,7 +101,7 @@ class lru_cache_t { // CRTP callback for when a node is evicted. // Clients can implement this - void entry_was_evicted(wcstring key, Contents value) { + void entry_was_evicted(const wcstring &key, Contents value) { UNUSED(key); UNUSED(value); }