Remove unintended signature change.

pull/18/head
Stefano Cossu 3 years ago
parent cdd1eff2ee
commit d9b23a5a4d

@ -248,7 +248,7 @@ static bool resize(struct hashmap *map, size_t new_cap) {
// replaced then it is returned otherwise NULL is returned. This operation
// may allocate memory. If the system is unable to allocate additional
// memory then NULL is returned and hashmap_oom() returns true.
void *hashmap_set(struct hashmap *map, const void *item) {
void *hashmap_set(struct hashmap *map, void *item) {
if (!item) {
panic("item is null");
}

Loading…
Cancel
Save