[Glacier] Don't move const-refs in hashmap.

This commit is contained in:
Drew Galbraith 2023-11-24 14:10:16 -08:00
parent 7715a5898b
commit 2a3d384336
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ ErrorCode HashMap<K, V, H>::Insert(const K& key, const V& value) {
return ALREADY_EXISTS;
}
}
ll.PushFront({Move(key), Move(value)});
ll.PushFront({key, value});
size_++;
return OK;
}