From 49bca8d588f1060367fc53d9ee8d668febc5faf7 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sun, 15 Mar 2020 01:50:22 +0100 Subject: [PATCH] Fix misnamed hashmap function --- src/hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hashmap.c b/src/hashmap.c index cb3c27e5..aafe077c 100644 --- a/src/hashmap.c +++ b/src/hashmap.c @@ -64,7 +64,7 @@ bool hash_AddElement(HashMap map, char const *key, void *element) return newEntry->next != NULL; } -bool hash_DeleteElement(HashMap map, char const *key) +bool hash_RemoveElement(HashMap map, char const *key) { HashType hashedKey = hash(key); struct HashMapEntry **ptr = &map[(HalfHashType)hashedKey];