summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/prg/nltool.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-06-28 13:14:16 +0200
committer couriersud <couriersud@gmx.org>2020-06-28 13:14:43 +0200
commitab31af569fb543f4b81fe30c3c37f6c957b09c48 (patch)
tree6a93d3b374bbce8c135b1070283d88d5b48de2a1 /src/lib/netlist/prg/nltool.cpp
parent3fcdfa0a9b1783f556abe36c9fb927c25c2170ee (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/prg/nltool.cpp')
-rw-r--r--src/lib/netlist/prg/nltool.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp
index 9bc19779e0b..25b4e6a9307 100644
--- a/src/lib/netlist/prg/nltool.cpp
+++ b/src/lib/netlist/prg/nltool.cpp
@@ -9,6 +9,7 @@
//
// ***************************************************************************
+#include "netlist/plib/pdynlib.h"
#include "netlist/plib/pmain.h"
#include "netlist/devices/net_lib.h"
#include "netlist/nl_errstr.h"
@@ -222,17 +223,17 @@ public:
void vlog(const plib::plog_level &l, const pstring &ls) const noexcept override;
- netlist::host_arena::unique_ptr<plib::dynlib_base> static_solver_lib() const override
+ std::unique_ptr<plib::dynlib_base> static_solver_lib() const override
{
if (m_boostlib == "builtin")
- return plib::make_unique<plib::dynlib_static, netlist::host_arena>(nl_static_solver_syms);
+ return std::make_unique<plib::dynlib_static>(nl_static_solver_syms);
if (m_boostlib == "generic")
- return plib::make_unique<plib::dynlib_static, netlist::host_arena>(nullptr);
+ return std::make_unique<plib::dynlib_static>(nullptr);
if (NL_DISABLE_DYNAMIC_LOAD)
throw netlist::nl_exception("Dynamic library loading not supported due to project security concerns.");
//pstring libpath = plib::util::environment("NL_BOOSTLIB", plib::util::buildpath({".", "nlboost.so"}));
- return plib::make_unique<plib::dynlib, netlist::host_arena>(m_boostlib);
+ return std::make_unique<plib::dynlib>(m_boostlib);
}
private: