diff options
author | 2020-06-28 13:14:16 +0200 | |
---|---|---|
committer | 2020-06-28 13:14:43 +0200 | |
commit | ab31af569fb543f4b81fe30c3c37f6c957b09c48 (patch) | |
tree | 6a93d3b374bbce8c135b1070283d88d5b48de2a1 /src/lib/netlist/nl_base.cpp | |
parent | 3fcdfa0a9b1783f556abe36c9fb927c25c2170ee (diff) |
netlist: include file refactoring.
The purpose of this ongoing exercise is to remove unnecessary
dependencies in header files. netlist implementations should only have
access to what they need. The same applies to device implementations.
Core stuff will be moved to the core subdirectory going forward.
Diffstat (limited to 'src/lib/netlist/nl_base.cpp')
-rw-r--r-- | src/lib/netlist/nl_base.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/netlist/nl_base.cpp b/src/lib/netlist/nl_base.cpp index c57e4f5e1c8..c55931ca9bc 100644 --- a/src/lib/netlist/nl_base.cpp +++ b/src/lib/netlist/nl_base.cpp @@ -8,6 +8,7 @@ #include "plib/pfmtlog.h" #include "plib/pmempool.h" #include "plib/putil.h" +#include "plib/pdynlib.h" #include "devices/nlid_proxy.h" #include "devices/nlid_system.h" @@ -25,9 +26,9 @@ namespace netlist // callbacks_t // ---------------------------------------------------------------------------------------- - host_arena::unique_ptr<plib::dynlib_base> callbacks_t:: static_solver_lib() const + std::unique_ptr<plib::dynlib_base> callbacks_t:: static_solver_lib() const { - return plib::make_unique<plib::dynlib_static, host_arena>(nullptr); + return std::make_unique<plib::dynlib_static>(nullptr); } // ---------------------------------------------------------------------------------------- |