mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 10:26: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:
@@ -252,6 +252,8 @@ typedef enum {
|
||||
ActivityCompleted = 2
|
||||
} ActivityState;
|
||||
|
||||
constexpr int format_as(ActivityState state) { return static_cast<int>(state); }
|
||||
|
||||
struct ClientActivityInformation {
|
||||
int activity_id;
|
||||
int done_count;
|
||||
|
||||
Reference in New Issue
Block a user