This function takes the following parameters:
The specified map object.
Pointer to the key of the entry to be erased.