[Glacier] Don't move const-refs in hashmap.
This commit is contained in:
parent
7715a5898b
commit
2a3d384336
|
@ -115,7 +115,7 @@ ErrorCode HashMap<K, V, H>::Insert(const K& key, const V& value) {
|
||||||
return ALREADY_EXISTS;
|
return ALREADY_EXISTS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ll.PushFront({Move(key), Move(value)});
|
ll.PushFront({key, value});
|
||||||
size_++;
|
size_++;
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue