git subrepo clone git@github.com:Rconybea/xo-alloc.git xo-alloc
subrepo: subdir: "xo-alloc" merged: "fc656313" upstream: origin: "git@github.com:Rconybea/xo-alloc.git" branch: "main" commit: "fc656313" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
d16545d815
commit
2c8faf6e43
49 changed files with 7196 additions and 0 deletions
13
xo-alloc/src/alloc/AllocPolicy.cpp
Normal file
13
xo-alloc/src/alloc/AllocPolicy.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* AllocPolicy.cpp
|
||||
*
|
||||
* author: Roland Conybeare, Jul 2025
|
||||
*/
|
||||
|
||||
#include "AllocPolicy.hpp"
|
||||
|
||||
/* note: inline/.hpp definition not allowed for operator delete */
|
||||
void operator delete(void * ptr) noexcept {
|
||||
xo::xo.free(ptr);
|
||||
}
|
||||
|
||||
/* end AllocPolicy.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue