mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Core/Misc: Fix build with gcc 12
This commit is contained in:
@@ -163,12 +163,12 @@ struct FragmentSerializationTraits
|
||||
{
|
||||
static void BuildCreate(void const* rawFragmentData, UF::UpdateFieldFlag flags, ByteBuffer& data, Player const* target, BaseEntity const* baseEntity)
|
||||
{
|
||||
static_cast<FragmentData const*>(rawFragmentData)->WriteCreate(flags, data, target, reinterpret_cast<FragmentData::OwnerObject const*>(baseEntity));
|
||||
static_cast<FragmentData const*>(rawFragmentData)->WriteCreate(flags, data, target, reinterpret_cast<typename FragmentData::OwnerObject const*>(baseEntity));
|
||||
}
|
||||
|
||||
static void BuildUpdate(void const* rawFragmentData, UF::UpdateFieldFlag flags, ByteBuffer& data, Player const* target, BaseEntity const* baseEntity)
|
||||
{
|
||||
static_cast<FragmentData const*>(rawFragmentData)->WriteUpdate(flags, data, target, reinterpret_cast<FragmentData::OwnerObject const*>(baseEntity));
|
||||
static_cast<FragmentData const*>(rawFragmentData)->WriteUpdate(flags, data, target, reinterpret_cast<typename FragmentData::OwnerObject const*>(baseEntity));
|
||||
}
|
||||
|
||||
static bool IsChanged(void const* rawFragmentData)
|
||||
|
||||
Reference in New Issue
Block a user