diff options
author | 2019-10-06 23:50:13 +0200 | |
---|---|---|
committer | 2019-10-06 23:50:13 +0200 | |
commit | 545f8069ef6d0095464479f4f90d3c7240d96a37 (patch) | |
tree | e6881a9ea485e5a38b13f143634831ddad2b83d0 /src/lib/netlist/plib/putil.cpp | |
parent | 38fd19fe301c3be1cb7942ca4272687928ddf4e6 (diff) |
netlist: maintenance and lint fixes. (nw)
Diffstat (limited to 'src/lib/netlist/plib/putil.cpp')
-rw-r--r-- | src/lib/netlist/plib/putil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/putil.cpp b/src/lib/netlist/plib/putil.cpp index c8c25d137e0..7b33bed8eff 100644 --- a/src/lib/netlist/plib/putil.cpp +++ b/src/lib/netlist/plib/putil.cpp @@ -134,7 +134,7 @@ namespace plib } - int penum_base::from_string_int(const char *str, const char *x) + int penum_base::from_string_int(const pstring &str, const pstring &x) { int cnt = 0; for (auto &s : psplit(str, ",", false)) @@ -146,7 +146,7 @@ namespace plib return -1; } - std::string penum_base::nthstr(int n, const char *str) + std::string penum_base::nthstr(int n, const pstring &str) { return psplit(str, ",", false)[static_cast<std::size_t>(n)]; } |