diff options
author | Chris Robinson <[email protected]> | 2022-05-16 23:08:07 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-05-16 23:56:07 -0700 |
commit | a5729d1ff6cc5e04d3ee108e553b45eeaa0fec9e (patch) | |
tree | bc915e54d10ec2fe751b78a41eab2c497c447df7 /include | |
parent | 3e9597a76829717ff5c6dac718bce7a0f072ba4a (diff) |
Check the container type given to DEF_NEWDEL and DEF_FAM_NEWDEL
There's apparently no way to get the containing class/struct type from a static
member function, and operator new/delete are implicitly static member functions
so the macros to define them need to be told the type to allocate for. This
ensures the type specified matches the containing type.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions