diff options
Diffstat (limited to 'src/lib/netlist/nl_setup.h')
-rw-r--r-- | src/lib/netlist/nl_setup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/nl_setup.h b/src/lib/netlist/nl_setup.h index 5e445fc6a32..50536d9da3b 100644 --- a/src/lib/netlist/nl_setup.h +++ b/src/lib/netlist/nl_setup.h @@ -253,7 +253,7 @@ namespace netlist /* FIXME: used by source_t - need a different approach at some time */ bool parse_stream(plib::unique_ptr<plib::pistream> &&istrm, const pstring &name); - void add_define(pstring def, pstring val) + void add_define(const pstring &def, const pstring &val) { m_defines.insert({ def, plib::ppreprocessor::define_t(def, val)}); } @@ -444,7 +444,7 @@ namespace netlist class source_proc_t : public source_t { public: - source_proc_t(pstring name, void (*setup_func)(nlparse_t &)) + source_proc_t(const pstring &name, void (*setup_func)(nlparse_t &)) : source_t(), m_setup_func(setup_func), m_setup_func_name(name) |