diff options
author | 2015-06-28 23:23:56 +0200 | |
---|---|---|
committer | 2015-06-30 09:04:19 +0200 | |
commit | b1a72a3e9f6a8596cfcb6dc36c67c84d41499d24 (patch) | |
tree | 42868322b76b12ca1c02154734de3057f22730fc /src/tools/nltool.c | |
parent | a24fd3408a9e45becf67410d84a65cddd077b030 (diff) |
Netlist now compiles with
-std=c++98 -Wall -Wpedantic -Wextra -Wno-long-long -Wno-variadic-macros
and
-std=c++11 -Wall -Wpedantic -Wextra
[Couriersud]
Diffstat (limited to 'src/tools/nltool.c')
-rw-r--r-- | src/tools/nltool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/nltool.c b/src/tools/nltool.c index 97d3204579a..479d7eacf83 100644 --- a/src/tools/nltool.c +++ b/src/tools/nltool.c @@ -183,7 +183,7 @@ public: void init() { - m_setup = palloc(netlist::setup_t, this); + m_setup = palloc(netlist::setup_t(this)); this->init_object(*this, "netlist"); m_setup->init(); } @@ -192,7 +192,7 @@ public: { // read the netlist ... - m_setup->register_source(palloc(netlist::netlist_source_mem_t, buffer)); + m_setup->register_source(palloc(netlist::netlist_source_mem_t(buffer))); m_setup->include(name); log_setup(); @@ -292,7 +292,7 @@ static void listdevices() nt.init(); const netlist::factory_list_t::list_t &list = nt.setup().factory().list(); - nt.setup().register_source(palloc(netlist::source_proc_t, "dummy", &netlist_dummy)); + nt.setup().register_source(palloc(netlist::source_proc_t("dummy", &netlist_dummy))); nt.setup().include("dummy"); nt.setup().start_devices(); |