Update gamemastermodel.cpp

adding const