diff options
author | 2016-03-05 17:11:04 +0100 | |
---|---|---|
committer | 2016-03-14 20:24:29 +0100 | |
commit | 41c8a9f6fa49b10c021196463adc654ecce25790 (patch) | |
tree | 2e59db2aa4d0730711e7e0a9541905b2f6380479 /src/lib/netlist/prg/nltool.cpp | |
parent | 0e48eb2a4392df8dd020f42432d90f614d73c6b3 (diff) |
netlist updates:
- First steps to move towards c++11.
- Base plist on std::vector
- Replace pstack with std::stack
- Remove pnamed_list
- use c++ "for each" in a number of places
- Fixed two "time bombs"
[couriersud]
Diffstat (limited to 'src/lib/netlist/prg/nltool.cpp')
-rw-r--r-- | src/lib/netlist/prg/nltool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp index 3c7065897e7..dcfe83d4450 100644 --- a/src/lib/netlist/prg/nltool.cpp +++ b/src/lib/netlist/prg/nltool.cpp @@ -272,7 +272,7 @@ plist_t<input_t> *read_input(netlist::netlist_t *netlist, pstring fname) if (l != "") { input_t inp(netlist, l); - ret->add(inp); + ret->push_back(inp); } } } |