mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +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:
+1
-1
@@ -6955,7 +6955,7 @@ void Client::ShowXTargets(Client *c)
|
||||
fmt::format(
|
||||
"xtarget slot [{}] type [{}] ID [{}] name [{}]",
|
||||
i,
|
||||
XTargets[i].Type,
|
||||
static_cast<int>(XTargets[i].Type),
|
||||
XTargets[i].ID,
|
||||
strlen(XTargets[i].Name) ? XTargets[i].Name : "No Name"
|
||||
).c_str()
|
||||
|
||||
Reference in New Issue
Block a user