Misc: Replace deprecated std::is_pod

This commit is contained in:
Stenzek
2023-09-05 21:27:27 +10:00
parent a66fec4266
commit 519367555b
2 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ public:
}
/// Overload for POD types, such as structs.
template<typename T, std::enable_if_t<std::is_pod_v<T>, int> = 0>
template<typename T, std::enable_if_t<std::is_standard_layout_v<T> && std::is_trivial_v<T>, int> = 0>
void DoPOD(T* value_ptr)
{
if (m_mode == Mode::Read)