Common/PointerWrap: Remove DoPOD

This was added in 385d8e2b15, but became somewhat redundant with Do in 4c7bbd96e4, and completely redundant now that std::is_trivially_copyable_v is well-supported.
This commit is contained in:
Pokechu22
2022-10-05 22:58:10 -07:00
parent 7498eb1e6c
commit e8221d7948
14 changed files with 30 additions and 36 deletions

View File

@ -257,12 +257,6 @@ public:
DoVoid((void*)&x, sizeof(x));
}
template <typename T>
void DoPOD(T& x)
{
DoVoid((void*)&x, sizeof(x));
}
void Do(bool& x)
{
// bool's size can vary depending on platform, which can