summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/nltypes.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-13 07:41:20 +0100
committer couriersud <couriersud@gmx.org>2019-11-13 07:41:20 +0100
commitf4cf0cc86a06f07f4df18fbf521abf3126721d24 (patch)
tree49d760d161a5a3c981f7ab02c39e6101a535b92c /src/lib/netlist/nltypes.h
parent6a57025550e2898954fe10b5796ad55513a21049 (diff)
netlist: code maintenance. (nw)
- move memory pool to netlist_state_t removing one static allocation. - add memory allocation stats to verbose output - nl_assert no longer throws, first step to remove NL_EXCEPT macro.
Diffstat (limited to 'src/lib/netlist/nltypes.h')
-rw-r--r--src/lib/netlist/nltypes.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/netlist/nltypes.h b/src/lib/netlist/nltypes.h
index 308afccfa59..af3ccd5828b 100644
--- a/src/lib/netlist/nltypes.h
+++ b/src/lib/netlist/nltypes.h
@@ -87,12 +87,6 @@ namespace netlist
template <typename T>
using unique_pool_ptr = nlmempool::unique_pool_ptr<T>;
- inline nlmempool &pool()
- {
- static nlmempool static_pool;
- return static_pool;
- }
-
namespace detail {
/// \brief Enum specifying the type of object