diff options
-rw-r--r-- | src/systemc/dt/sc_mempool.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/systemc/dt/sc_mempool.cc b/src/systemc/dt/sc_mempool.cc index ae58dd780..cc833ab1c 100644 --- a/src/systemc/dt/sc_mempool.cc +++ b/src/systemc/dt/sc_mempool.cc @@ -36,13 +36,12 @@ namespace sc_core void * sc_mempool::allocate(std::size_t sz) { - warn("%s not implemented.\n", __PRETTY_FUNCTION__); - return nullptr; + return ::operator new(sz); } void sc_mempool::release(void *p, std::size_t sz) { - warn("%s not implemented.\n", __PRETTY_FUNCTION__); + ::operator delete(p); } void sc_mempool::display_statistics() |