mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-02 16:46:37 +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:
@@ -169,4 +169,7 @@ protected:
|
||||
TimeOfDay_Struct next_event;
|
||||
};
|
||||
|
||||
constexpr int format_as(SpawnCondition::OnChange val) { return static_cast<int>(val); }
|
||||
constexpr int format_as(SpawnEvent::Action val) { return static_cast<int>(val); }
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user