Troubleshoot LNK2019 error

*caused by calling addToMap() method
	*trying to modify const members