mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
lru: Make parameter const-ref
This has no effect here, but it's used in the tests, where the override is constref.
This commit is contained in:
parent
4c5d586249
commit
0e8beab7bf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue