Remove unnecessary reinterpret_cast

This commit is contained in:
Chris Thrasher 2025-01-20 12:53:10 -07:00
parent 6bb541d741
commit 3fa47911f9
No known key found for this signature in database
GPG Key ID: 56FB686C9DFC8E2C

View File

@ -45,7 +45,7 @@ void Packet::append(const void* data, std::size_t sizeInBytes)
{
if (data && (sizeInBytes > 0))
{
const auto* begin = reinterpret_cast<const std::byte*>(data);
const auto* begin = static_cast<const std::byte*>(data);
const auto* end = begin + sizeInBytes;
m_data.insert(m_data.end(), begin, end);
}