Change deprecated functions.

This commit is contained in:
Patrick Pelissier committed 2018-10-29 11:06:29 +01:00
1 parent 15f6484dd2
commit 5ecf4f37c0
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ int main(void)
printf("Enter the mapped string to be deleted: ");
string_fgets (str, stdin, STRING_READ_PURE_LINE);
s = atoi(string_get_cstr(str));
dict_map_remove(mp, s);
dict_map_erase(mp, s);
break;
case 3: