diff options
author | couriersud <couriersud@gmx.org> | 2019-10-29 19:55:53 +0100 |
---|---|---|
committer | couriersud <couriersud@gmx.org> | 2019-10-29 19:55:53 +0100 |
commit | cac86fb1b4e23602ebf3b84465b687b6301736e3 (patch) | |
tree | 1990e822ff2c8f0ed2d57fd44dd0807562095586 /src/devices/machine | |
parent | 316ee65978963211783fab69b089ef750f989060 (diff) |
netlist: code maintenance. (nw)
- Removed code no longer used
- Add noexcept where appropriate
- split pparser.[c|h] into ppreprocessor and ptokenizer
- smaller optimizations, e.g. use of std::size_t
- fix lint warnings
Diffstat (limited to 'src/devices/machine')
-rw-r--r-- | src/devices/machine/netlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/netlist.cpp b/src/devices/machine/netlist.cpp index 08d1e59a889..e94b4517890 100644 --- a/src/devices/machine/netlist.cpp +++ b/src/devices/machine/netlist.cpp @@ -1030,7 +1030,7 @@ void netlist_mame_device::common_dev_start(netlist::netlist_t *lnetlist) const if (p != "") { bool err=false; - bool v = plib::pstonum_ne<bool, true>(p, err); + bool v = plib::pstonum_ne<bool>(p, err); if (err) lsetup.log().warning("NL_STATS: invalid value {1}", p); else |