Update beatmap.cpp

Prefer prefix operator