aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-05-16 23:08:07 -0700
committerChris Robinson <[email protected]>2022-05-16 23:56:07 -0700
commita5729d1ff6cc5e04d3ee108e553b45eeaa0fec9e (patch)
treebc915e54d10ec2fe751b78a41eab2c497c447df7 /include
parent3e9597a76829717ff5c6dac718bce7a0f072ba4a (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