CSortedLists: Turn ESortedList into an enum class

Prevents namespace pollution and makes the type more strongly-enforced
with regards to implicit conversions
This commit is contained in:
Lioncash 2019-09-15 18:51:58 -04:00
parent cc236dcaba
commit f5d486f0ca
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
#include "Collision/CMaterialFilter.hpp"
namespace urde {
enum ESortedList { MinX, MinY, MinZ, MaxX, MaxY, MaxZ };
enum class ESortedList { MinX, MinY, MinZ, MaxX, MaxY, MaxZ };
struct SSortedList {
s16 x0_ids[1024];