forked from mirrors/0ad
85a622b13a
This means the type information is available for all methods operating with the setting type, which is easier for the authors, allows for compile-time checks and optimizations. Remove the enum that was used to indirectly obtain the setting type at runtime. Revises SGUISetting and enum frome326ebae46(5122b0f906), std::function from82f1d2718b. Differential Revision: https://code.wildfiregames.com/D2145 Tested on: gcc, clang, VS2015, Jenkins This was SVN commit r22604.