Ok. I will add functions to the struct to handle setting the map + adding a const getter and do what you said then.