breaks the build on recent compilers (clang12 on archlinux):
In file included from /home/user/oregoncore/server/src/server/game/Grids/GridDefines.h:22:
/home/user/oregoncore/server/src/framework/GameSystem/NGrid.h:98:58: error: cannot assign to non-static data member within const member function 'SetGridId'
void SetGridId(const uint32 id) const { i_gridId = id; }
~~~~~~~~ ^
/home/user/oregoncore/server/src/framework/GameSystem/NGrid.h:98:14: note: member function 'NGrid::SetGridId' is declared const here
void SetGridId(const uint32 id) const { i_gridId = id; }
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
The definition of the obsolete SetGridId function:
breaks the build on recent compilers (clang12 on archlinux):
However, "SetGridId" is not used anywhere:
This PR removes the obsolete SetGridId function, and by this also fixes the build.