[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:
hg
2024-02-12 03:58:48 -05:00
committed by GitHub
parent 20c01ef343
commit e920e35a5c
21 changed files with 33 additions and 17 deletions
+2 -2
View File
@@ -410,7 +410,7 @@ void DataBucket::BulkLoadEntities(DataBucketLoadType::Type t, std::vector<uint32
column = "npc_id";
break;
default:
LogError("Incorrect LoadType [{}]", t);
LogError("Incorrect LoadType [{}]", static_cast<int>(t));
break;
}
@@ -546,7 +546,7 @@ void DataBucket::HandleWorldMessage(ServerPacket *p)
n.e.id,
n.e.key_,
n.e.value,
n.update_action
static_cast<int>(n.update_action)
);
// delete