mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-04 15:22:18 +00:00
[Cleanup] Use explicit conversions for enum formatting (#4064)
This is prep for updating to fmt 10 which removed implicit conversions for enums.
This commit is contained in:
21 files changed
+33
-17
No files matched your search
@@ -54,6 +54,8 @@ namespace EQ
|
||||
tintInvalid = textureInvalid
|
||||
};
|
||||
|
||||
constexpr int format_as(TextureSlot slot) { return static_cast<int>(slot); }
|
||||
|
||||
const int8 LastTexture = weaponSecondary;
|
||||
const int8 LastTintableTexture = tintFeet;
|
||||
|
||||
|
||||
Reference in new issue
Block a user