summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pstring.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2017-01-23 21:20:09 +0100
committer couriersud <couriersud@gmx.org>2017-01-25 22:17:47 +0100
commit25152bd69a070aa7ba84248b368b0803e407272a (patch)
tree7a0704f433857e91cbda2cda93dca07e643e075a /src/lib/netlist/plib/pstring.h
parent093bda019317a5a66699b35f8b25ab73802f1f1c (diff)
Netlist refactoring:
- Refactored netlist pmf code. - Small optimization for diode calculations. - Minor refactoring across the board. (nw)
Diffstat (limited to 'src/lib/netlist/plib/pstring.h')
-rw-r--r--src/lib/netlist/plib/pstring.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/netlist/plib/pstring.h b/src/lib/netlist/plib/pstring.h
index 059df4b6376..e3dd475175e 100644
--- a/src/lib/netlist/plib/pstring.h
+++ b/src/lib/netlist/plib/pstring.h
@@ -23,7 +23,7 @@
struct pstr_t
{
- pstr_t(const int alen) { init(alen); }
+ pstr_t(const std::size_t alen) { init(alen); }
void init(const std::size_t alen)
{
m_ref_count = 1;
@@ -169,13 +169,6 @@ public:
const pstring_t ucase() const;
- // FIXME: do something with encoding
- // FIXME: belongs into derived class
- // This is only used in state saving to support "owners" whose name() function
- // returns char*.
- static pstring_t from_utf8(const mem_t *c) { return pstring_t(c, UTF8); }
- static pstring_t from_utf8(const pstring_t &c) { return c; }
-
static void resetmem();
protected:
22a49acaae68fb51ec89638f356ab'>sensorboard: only load last position when the chesscomputer expects it (nw) hap2020-06-091-0/+1 * drivers starting with i, j, k, l and m: more macro removal (nw) Ivan Vangelista2020-05-281-8/+8 * chess* misc cleanup (nw) hap2020-05-071-29/+41 * mmboard, mmdisplay2: Simplify handler signatures by removing unnecessary spac... AJR2020-04-111-3/+3 * chess*: split program versions 'bios' sets to separate game drivers (nw) hap2020-02-031-10/+15 * mephisto_modena: Added an older version of Modena. [Berger] hap2020-01-091-26/+57 * dominator: identify buttons (nw) hap2019-12-061-1/+4 * New working machine added hap2019-08-041-1/+1