Inserting pointer to an object in vector in a map

Hi, I would greatly appreciate if you could help me fixing this.

So, a the simulation runs, different body parts represented by classes declared in the Player Class (e.g. Head, Body, Legs and Weapons) take damage. When this happens, I am storing a pointer to the damaged part in a map belonging to the player class, with the key value representing the priority in the subsequent repair queue: