mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
Common/PointerWrap: Remove DoPOD
This was added in385d8e2b15
, but became somewhat redundant with Do in4c7bbd96e4
, and completely redundant now that std::is_trivially_copyable_v is well-supported.
This commit is contained in:
parent
7498eb1e6c
commit
e8221d7948
14 changed files with 30 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue